about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-01-26 03:15:18 +0100
committerMel <mel@rnrd.eu>2026-01-26 03:15:18 +0100
commit38bc2d06fff322a99ba6ba46df69bbd2b40c6173 (patch)
tree0485c271240bdde9d5cded82623b76e734fe9f70 /Makefile
parent4dc6b49db40eaebf700d5c26c93c5f33b3db60ac (diff)
downloadcatskill-38bc2d06fff322a99ba6ba46df69bbd2b40c6173.tar.zst
catskill-38bc2d06fff322a99ba6ba46df69bbd2b40c6173.zip
Streamline build and temporary build directory, copy runtime
Signed-off-by: Mel <mel@rnrd.eu>
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