mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Makefile: clean doesnt need object dependencies
This commit is contained in:
parent
3de254f7a2
commit
cc95304912
24
Makefile
24
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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user