diff options
| author | entrpntr <entrpntr@gmail.com> | 2020-04-02 14:19:45 -0400 |
|---|---|---|
| committer | entrpntr <entrpntr@gmail.com> | 2020-04-02 16:49:57 -0400 |
| commit | 07434c8f8662e2500ffb346da75b11f9929aa036 (patch) | |
| tree | b385019b9469c2ee2ab39c212d4c93b8feb45a82 /Makefile | |
| parent | 48e0d17b6a51344a07c679e17eb92a25fdb1882b (diff) | |
Fix gfx code, generate pngs for pokemon/trainers and add to repo.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 {} + |
