Makefile: empty targets for %.asm and baserom.gbc

so make stops wasting time trying to find implicit rules
This commit is contained in:
yenatch 2013-12-02 16:25:03 -05:00
parent cc95304912
commit cf3fd4e13b

View File

@ -35,7 +35,7 @@ clean:
@echo 'Removing preprocessed .tx files...' @echo 'Removing preprocessed .tx files...'
@rm -f $(TEXTFILES:.asm=.tx) @rm -f $(TEXTFILES:.asm=.tx)
baserom.gbc: baserom.gbc: ;
@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false @echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
PNGS := $(shell find gfx/ -type f -name '*.png') PNGS := $(shell find gfx/ -type f -name '*.png')
@ -55,6 +55,8 @@ $(shell \
$(eval TEXTQUEUE := $(TEXTQUEUE) $<) $(eval TEXTQUEUE := $(TEXTQUEUE) $<)
@rm -f $@ @rm -f $@
%.asm: ;
globals.asm: $(TEXTFILES:.asm=.tx) globals.asm: $(TEXTFILES:.asm=.tx)
@echo "Creating globals.asm..." @echo "Creating globals.asm..."
@touch globals.asm @touch globals.asm