mirror of https://github.com/pret/pokecrystal.git
'make clean' reuses 'make tidy' commands
This commit is contained in:
parent
ed3e70b97c
commit
959b8a9244
4
Makefile
4
Makefile
|
@ -54,11 +54,9 @@ crystal_au: pokecrystal_au.gbc
|
||||||
crystal_debug: pokecrystal_debug.gbc
|
crystal_debug: pokecrystal_debug.gbc
|
||||||
crystal11_debug: pokecrystal11_debug.gbc
|
crystal11_debug: pokecrystal11_debug.gbc
|
||||||
|
|
||||||
clean:
|
clean: tidy
|
||||||
rm -f $(roms) $(pokecrystal_obj) $(pokecrystal11_obj) $(pokecrystal_au_obj) $(pokecrystal_debug_obj) $(pokecrystal11_debug_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rgbdscheck.o
|
|
||||||
find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" -o -name "*.sgb.tilemap" \) -delete
|
find gfx \( -name "*.[12]bpp" -o -name "*.lz" -o -name "*.gbcpal" -o -name "*.sgb.tilemap" \) -delete
|
||||||
find gfx/pokemon -mindepth 1 ! -path "gfx/pokemon/unown/*" \( -name "bitmask.asm" -o -name "frames.asm" -o -name "front.animated.tilemap" -o -name "front.dimensions" \) -delete
|
find gfx/pokemon -mindepth 1 ! -path "gfx/pokemon/unown/*" \( -name "bitmask.asm" -o -name "frames.asm" -o -name "front.animated.tilemap" -o -name "front.dimensions" \) -delete
|
||||||
$(MAKE) clean -C tools/
|
|
||||||
|
|
||||||
tidy:
|
tidy:
|
||||||
rm -f $(roms) $(pokecrystal_obj) $(pokecrystal11_obj) $(pokecrystal_au_obj) $(pokecrystal_debug_obj) $(pokecrystal11_debug_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rgbdscheck.o
|
rm -f $(roms) $(pokecrystal_obj) $(pokecrystal11_obj) $(pokecrystal_au_obj) $(pokecrystal_debug_obj) $(pokecrystal11_debug_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rgbdscheck.o
|
||||||
|
|
Loading…
Reference in New Issue