about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9775895..4b3f9f5 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,9 @@ build/catskill: build $(SOURCES)
 	echo "No catskill compiler exists yet. Building empty file."
 	touch ./build/catskill
 
-build/catboot: build $(BOOTSTRAP_SOURCES)
-	$(CC) $(CFLAGS) -o ./build/catboot ./boot/catboot.c
+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
 
 build/catboot-test: build $(BOOTSTRAP_TEST_SOURCES)
 	$(CC) $(CFLAGS) -o ./build/catboot-test ./boot/tests/test.c