diff options
| author | Mel <mel@rnrd.eu> | 2026-01-22 18:27:28 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-01-22 19:12:20 +0100 |
| commit | fce4a99dbfab5af623bb05d9e10807efeced5a47 (patch) | |
| tree | 791fd7b45ac2a44b5878e41448aa048c66ae4732 /Makefile | |
| parent | 7f5d765c929a4dc2deddb7b68a41a3a841940837 (diff) | |
| download | catskill-fce4a99dbfab5af623bb05d9e10807efeced5a47.tar.zst catskill-fce4a99dbfab5af623bb05d9e10807efeced5a47.zip | |
Implement file embedding into compiler sources during build
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
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 |
