Makefile: clean doesnt need object dependencies

This commit is contained in:
yenatch 2013-12-02 15:23:34 -05:00
parent 3de254f7a2
commit cc95304912
1 changed files with 12 additions and 12 deletions

View File

@ -26,6 +26,18 @@ OBJS := $(CRYSTAL_OBJS)
ROMS := pokecrystal.gbc
all: baserom.gbc globals.asm $(ROMS)
cmp baserom.gbc pokecrystal.gbc
clean:
rm -f $(ROMS)
rm -f $(OBJS)
rm -f globals.asm globals.tx
@echo 'Removing preprocessed .tx files...'
@rm -f $(TEXTFILES:.asm=.tx)
baserom.gbc:
@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
PNGS := $(shell find gfx/ -type f -name '*.png')
LZS := $(shell find gfx/ -type f -name '*.lz')
_2BPPS := $(shell find gfx/ -type f -name '*.2bpp')
@ -39,18 +51,6 @@ $(shell \
) \
)
all: baserom.gbc globals.asm $(ROMS)
cmp baserom.gbc pokecrystal.gbc
clean:
rm -f $(ROMS)
rm -f $(OBJS)
rm -f globals.asm globals.tx
@echo 'Removing preprocessed .tx files...'
@rm -f $(TEXTFILES:.asm=.tx)
baserom.gbc:
@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
.asm.tx:
$(eval TEXTQUEUE := $(TEXTQUEUE) $<)
@rm -f $@