diff options
| author | yenatch <yenatch@gmail.com> | 2015-06-28 23:50:50 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2015-06-28 23:53:49 -0700 |
| commit | 9c4fb6a6a4b0d63c5c165aefb95cbe5c0d9fdace (patch) | |
| tree | 2334e1c59c5167eccbef6454922748b384aa43a0 /Makefile | |
| parent | e2c2e20f93f43848542362a5deee677e88f9507d (diff) | |
Add a script to convert project-specific graphics.
This is an alternative to terrible hacks like filename metadata, and might combat submodule bloat.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -7,7 +7,7 @@ MD5 := md5sum -c --quiet .SECONDEXPANSION: poketools := extras/pokemontools -gfx := $(PYTHON) $(poketools)/gfx.py +gfx := $(PYTHON) gfx.py includes := $(PYTHON) $(poketools)/scan_includes.py @@ -79,12 +79,13 @@ pngs: find . -iname "*.[12]bpp" -exec touch {} + find . -iname "*.lz" -exec touch {} + -%.2bpp: %.png ; @$(gfx) 2bpp $< -%.1bpp: %.png ; @$(gfx) 1bpp $< -%.lz: % ; @$(gfx) lz $< +%.2bpp: %.png ; $(gfx) 2bpp $< +%.1bpp: %.png ; $(gfx) 1bpp $< +%.lz: % ; $(gfx) lz $< -%.pal: ; +%.pal: %.2bpp ; +gfx/pics/%/normal.pal gfx/pics/%/bitmask.asm gfx/pics/%/frames.asm: gfx/pics/%/front.2bpp ; %.bin: ; %.blk: ; %.tilemap: ; |
