From cc953049121677729484240dc557aa6d5532057b Mon Sep 17 00:00:00 2001 From: yenatch Date: Mon, 2 Dec 2013 15:23:34 -0500 Subject: [PATCH] Makefile: clean doesnt need object dependencies --- Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 00da90526..9a2a94ca4 100644 --- a/Makefile +++ b/Makefile @@ -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 $@