Fix incremental compilation.
This commit is contained in:
parent
636e5787de
commit
5a7203ebda
2
Makefile
2
Makefile
@ -20,7 +20,7 @@ $(OUTDIR)/$(PROJECT).prg: $(OUTDIR)/$(PROJECT)_code_compiler.bin
|
|||||||
$(OUTDIR)/$(PROJECT)_code_compiler.bin: $(OBJ) | $(OUTDIR)
|
$(OUTDIR)/$(PROJECT)_code_compiler.bin: $(OBJ) | $(OUTDIR)
|
||||||
zcc +conf.cfg \
|
zcc +conf.cfg \
|
||||||
-crt0=src/crt.asm \
|
-crt0=src/crt.asm \
|
||||||
-m -o $(OUTDIR)/$(PROJECT) $?
|
-m -o $(OUTDIR)/$(PROJECT) $(OBJ)
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
zcc +z80 -c -o $@ $<
|
zcc +z80 -c -o $@ $<
|
||||||
|
Loading…
Reference in New Issue
Block a user