summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-04-02 14:19:45 -0400
committerentrpntr <entrpntr@gmail.com>2020-04-02 16:49:57 -0400
commit07434c8f8662e2500ffb346da75b11f9929aa036 (patch)
treeb385019b9469c2ee2ab39c212d4c93b8feb45a82 /Makefile
parent48e0d17b6a51344a07c679e17eb92a25fdb1882b (diff)
Fix gfx code, generate pngs for pokemon/trainers and add to repo.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 767f91ce..721d6f69 100644
--- a/Makefile
+++ b/Makefile
@@ -49,8 +49,7 @@ silver: pokesilver.gbc
clean:
rm -f $(roms) $(gold_obj) $(silver_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
- find gfx -name "*.png" -delete
- find gfx/pokemon gfx/trainers -name "*.2bpp" -delete
+ find gfx/pokemon gfx/trainers -iname "*.[1,2]bpp" -delete
$(MAKE) clean -C tools/
compare: $(roms)
@@ -100,7 +99,7 @@ pokesilver.gbc: $(silver_obj) pokesilver.link
tools/sort_symfile.sh pokesilver.sym
pngs:
- find . -iname "*.lz" -exec $(gfx) unlz {} +
- find . -iname "*.[12]bpp" -exec $(gfx) png {} +
- find . -iname "*.[12]bpp" -exec touch {} +
- find . -iname "*.lz" -exec touch {} +
+ find gfx/pokemon gfx/trainers -iname "*.lz" -exec $(gfx) unlz {} +
+ find gfx/pokemon gfx/trainers -iname "*.[12]bpp" -exec $(gfx) png {} +
+ find gfx/pokemon gfx/trainers -iname "*.[12]bpp" -exec touch {} +
+ find gfx/pokemon gfx/trainers -iname "*.lz" -exec touch {} +