mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
rename make variables for graphics files
This commit is contained in:
parent
6a21963799
commit
c195276073
11
Makefile
11
Makefile
@ -7,9 +7,10 @@ TEXTQUEUE :=
|
|||||||
|
|
||||||
OBJS := pokecrystal.o
|
OBJS := pokecrystal.o
|
||||||
|
|
||||||
PNG_GFX := $(shell find gfx/ -type f -name '*.png')
|
PNGS := $(shell find gfx/ -type f -name '*.png')
|
||||||
LZ_GFX := $(shell find gfx/ -type f -name '*.lz')
|
LZS := $(shell find gfx/ -type f -name '*.lz')
|
||||||
TWOBPP_GFX := $(shell find gfx/ -type f -name '*.2bpp')
|
_2BPPS := $(shell find gfx/ -type f -name '*.2bpp')
|
||||||
|
_1BPPS := $(shell find gfx/ -type f -name '*.1bpp')
|
||||||
|
|
||||||
$(shell $(foreach obj, $(OBJS), $(eval OBJ_$(obj:.o=) := $(shell $(PYTHON) scan_includes.py $(obj:.o=.asm)))))
|
$(shell $(foreach obj, $(OBJS), $(eval OBJ_$(obj:.o=) := $(shell $(PYTHON) scan_includes.py $(obj:.o=.asm)))))
|
||||||
|
|
||||||
@ -41,7 +42,7 @@ pngs:
|
|||||||
$(PYTHON) extras/pokemontools/gfx.py mass-decompress
|
$(PYTHON) extras/pokemontools/gfx.py mass-decompress
|
||||||
$(PYTHON) extras/pokemontools/gfx.py dump-pngs
|
$(PYTHON) extras/pokemontools/gfx.py dump-pngs
|
||||||
|
|
||||||
lzs: $(LZ_GFX) $(TWOBPP_GFX)
|
lzs: $(LZS) $(_2BPPS) $(_1BPPS)
|
||||||
@:
|
@:
|
||||||
|
|
||||||
gfx/pics/%/front.lz: gfx/pics/%/tiles.2bpp gfx/pics/%/front.png
|
gfx/pics/%/front.lz: gfx/pics/%/tiles.2bpp gfx/pics/%/front.png
|
||||||
@ -56,6 +57,8 @@ gfx/trainers/%.lz: gfx/trainers/%.png
|
|||||||
$(PYTHON) extras/pokemontools/gfx.py png-to-lz $<
|
$(PYTHON) extras/pokemontools/gfx.py png-to-lz $<
|
||||||
.png.2bpp:
|
.png.2bpp:
|
||||||
$(PYTHON) extras/pokemontools/gfx.py png-to-lz $<
|
$(PYTHON) extras/pokemontools/gfx.py png-to-lz $<
|
||||||
|
.png.1bpp:
|
||||||
|
$(PYTHON) extras/pokemontools/gfx.py png-to-lz $<
|
||||||
%.2bpp:
|
%.2bpp:
|
||||||
@:
|
@:
|
||||||
%.1bpp:
|
%.1bpp:
|
||||||
|
Loading…
Reference in New Issue
Block a user