mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 13:09:56 +00:00
12 lines
397 B
Makefile
Executable File
12 lines
397 B
Makefile
Executable File
# Dungeon Pokemon data
|
|
|
|
DUNGEONS_DIR = $(DATA_ASM_SUBDIR)/dungeon
|
|
|
|
DUNGEON_DIRS := $(dir $(wildcard $(DUNGEONS_DIR)/*/pokemon_found.json))
|
|
DUNGEON_POKEMON := $(patsubst $(DUNGEONS_DIR)/%/,$(DUNGEONS_DIR)/%/pokemon_found.inc,$(DUNGEON_DIRS))
|
|
|
|
dungeon_pokemon: $(DUNGEON_POKEMON);
|
|
|
|
$(DUNGEONS_DIR)/%/pokemon_found.inc: $(DUNGEONS_DIR)/%/pokemon_found.json
|
|
$(DUNGEONJSON) dungeon_pokemon pmd-red $<
|