From fce4a99dbfab5af623bb05d9e10807efeced5a47 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 22 Jan 2026 18:27:28 +0100 Subject: Implement file embedding into compiler sources during build Signed-off-by: Mel --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit 1.4.1