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 $@