pmd-red/data_item.mk
mid-kid 010d641899 Explicitly declare dependencies for generated files
These are harder to pick up automatically, and will only change when the
tools are edited, anyway...

Any other methods for solving this issue can always be reconsidered
later down the line...
2021-12-20 16:29:19 +01:00

15 lines
359 B
Makefile

# Item data
ITEM_DIR = $(DATA_ASM_SUBDIR)/item
ITEM_DATA = $(ITEM_DIR)/item_data.inc
# Headers included by tools/dungeonjson/dungeonjson.cpp:generate_item_data_text
ITEM_DATA_INC = \
include/constants/item.h \
include/constants/move_id.h
data_item: $(ITEM_DATA);
$(ITEM_DATA): $(ITEM_DIR)/item_data.json $(ITEM_DATA_INC)
$(DUNGEONJSON) item pmd-red $<