about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4b3f9f5..bc091f0 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CFLAGS ?= -std=c99 -Wall -Werror -static -g -O0 $(DEFINES)
 
 .DEFAULT_GOAL := all
 
-BOOTSTRAP_SOURCES = boot/catboot.c boot/common.c boot/lex.c boot/tree.c boot/visit.c boot/parse.c boot/build.c
+BOOTSTRAP_SOURCES = boot/catboot.c boot/catboot.h boot/common.c boot/lex.c boot/tree.c boot/visit.c boot/parse.c boot/transpile.c boot/build.c
 BOOTSTRAP_TEST_SOURCES = boot/tests/test.c
 SOURCES = src/catskill.csk
 
@@ -16,7 +16,7 @@ build/catskill: build $(SOURCES)
 
 build/catboot: build $(BOOTSTRAP_SOURCES) boot/scripts/embed.sh
 	./boot/scripts/embed.sh $(BOOTSTRAP_SOURCES)
-	$(CC) $(CFLAGS) -I./boot -o ./build/catboot ./build/boot/catboot.c
+	$(CC) $(CFLAGS) -o ./build/catboot ./build/boot/catboot.c
 
 build/catboot-test: build $(BOOTSTRAP_TEST_SOURCES)
 	$(CC) $(CFLAGS) -o ./build/catboot-test ./boot/tests/test.c