summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--Makefile2
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 3a781d1df..55797d264 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,8 +40,8 @@ pokecrystal.txt
*.2bpp
*.1bpp
*.lz
-*.pal
*.animated.tilemap
gfx/pokemon/*/bitmask.asm
gfx/pokemon/*/frames.asm
-!gfx/pokemon/*/shiny.pal
+!gfx/pokemon/unown/bitmask.asm
+!gfx/pokemon/unown/frames.asm \ No newline at end of file
diff --git a/Makefile b/Makefile
index 6ece5e510..f92cdda04 100644
--- a/Makefile
+++ b/Makefile
@@ -42,8 +42,10 @@ all: crystal
crystal: pokecrystal.gbc
crystal11: pokecrystal11.gbc
+# TODO: clean bitmask.asm and frames.asm for all mons except unown
clean:
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
+ find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.lz' -o -iname '*.gbcpal' -o -iname '*.dimensions' -o -iname '*.animated.tilemap' \) -exec rm {} +
$(MAKE) clean -C tools/
compare: $(roms)