diff --git a/emul/Makefile b/emul/Makefile index 3da8522..b762ba5 100644 --- a/emul/Makefile +++ b/emul/Makefile @@ -18,17 +18,17 @@ $(BLKUNPACK): $(BLKPACK) forth-bin.h: $(BIN2C) forth.bin $(BIN2C) KERNEL < forth.bin > $@ -stage: stage.c $(OBJS) +stage: stage.c $(OBJS) forth-bin.h blkfs-bin.h $(CC) stage.c $(OBJS) -o $@ -blkfs: $(BLKPACK) $(shell find ../blk -type f) +blkfs: $(BLKPACK) $(BLKPACK) ../blk > $@ blkfs-bin.h: blkfs $(BIN2C) $(BIN2C) BLKFS < blkfs > $@ forth: forth.c $(OBJS) forth-bin.h blkfs-bin.h - $(CC) -g forth.c $(OBJS) -o $@ + $(CC) forth.c $(OBJS) -o $@ libz80/libz80.o: libz80/z80.c $(MAKE) -C libz80/codegen opcodes