Remove useless lines in the makefile.

The previous rules were composed this way but only because target-specific variables weren't used. As they are now, they actually do nothing.
This commit is contained in:
yenatch 2016-03-01 21:09:34 -05:00
parent e11ef2b8d5
commit 0be6e6c910

View File

@ -45,12 +45,10 @@ compare: pokecrystal.gbc pokecrystal11.gbc
%.asm: ; %.asm: ;
%11.o: dep = $(shell $(includes) $(@D)/$*.asm) %11.o: dep = $(shell $(includes) $(@D)/$*.asm)
$(crystal11_obj): %11.o:
%11.o: %.asm $$(dep) %11.o: %.asm $$(dep)
rgbasm -D CRYSTAL11 -o $@ $< rgbasm -D CRYSTAL11 -o $@ $<
%.o: dep = $(shell $(includes) $(@D)/$*.asm) %.o: dep = $(shell $(includes) $(@D)/$*.asm)
$(crystal_obj): %.o:
%.o: %.asm $$(dep) %.o: %.asm $$(dep)
rgbasm -o $@ $< rgbasm -o $@ $<