mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-24 05:29:47 +00:00
13 lines
360 B
Makefile
13 lines
360 B
Makefile
|
# Dungeon Floor data
|
||
|
|
||
|
DUNGEONS_DIR = $(DATA_ASM_SUBDIR)/dungeon
|
||
|
|
||
|
DUNGEON_DIRS := $(dir $(wildcard $(DUNGEONS_DIR)/*/floor_id.json))
|
||
|
DUNGEON_FLOOR := $(patsubst $(DUNGEONS_DIR)/%/,$(DUNGEONS_DIR)/%/floor_id.inc,$(DUNGEON_DIRS))
|
||
|
|
||
|
|
||
|
dungeon_floor: $(DUNGEON_FLOOR);
|
||
|
|
||
|
$(DUNGEONS_DIR)/%/floor_id.inc: $(DUNGEONS_DIR)/%/floor_id.json
|
||
|
$(DUNGEONJSON) floor pmd-red $<
|