mirror of
https://github.com/pret/pokepinballrs.git
synced 2026-09-26 05:31:12 -04:00
18 lines
576 B
Makefile
18 lines
576 B
Makefile
GFX_JSONS := $(shell find graphics -type f -name '*.json')
|
|
GFX_RULES_SCRIPT := tools/scripts/generate_graphics_rules.sh
|
|
GFX_RULES_GEN := graphics_rules_generated.mk
|
|
|
|
$(GFX_RULES_GEN): $(GFX_JSONS) $(GFX_RULES_SCRIPT)
|
|
bash $(GFX_RULES_SCRIPT) $(GFX_JSONS) > $@
|
|
|
|
-include $(GFX_RULES_GEN)
|
|
|
|
graphics/field_select/sprites.4bpp: graphics/field_select/sprites.png
|
|
$(GFX) $< $@ -num_tiles 513
|
|
|
|
graphics/options/sprites.4bpp: graphics/options/sprites.png
|
|
$(GFX) $< $@ -num_tiles 257
|
|
|
|
graphics/pokedex/text_glyphs.4bpp: graphics/pokedex/text_glyphs.png
|
|
$(GFX) $< $@ -num_tiles 513
|