diff options
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -19,9 +19,12 @@ $(BUILD)/%.o: src/%.asm | $(BUILD) # C programs: compiled with SDCC into ROM-bank blobs and INCBIN'd by programs.asm CBLOBS := c/chello.bin c/echo.bin c/true.bin c/false.bin c/uname.bin \ - c/pid.bin c/cat.bin + c/pid.bin c/cat.bin c/wc.bin c/head.bin c/args.bin $(BUILD)/programs.o: $(CBLOBS) +# C programs also depend on the shared libc sources +$(CBLOBS): c/libc.c c/gbos.h + c/%.bin: c/%.c c/crt0.s c/libc.s c/build.sh sh c/build.sh $< $@ |
