mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
9 lines
435 B
Makefile
Executable File
9 lines
435 B
Makefile
Executable File
# JSON files are run through jsonproc, which is a tool that converts JSON data to an output file
|
|
# based on an Inja template. https://github.com/pantor/inja
|
|
|
|
AUTO_GEN_TARGETS += $(DATA_SRC_SUBDIR)/wild_encounters.h
|
|
$(DATA_SRC_SUBDIR)/wild_encounters.h: $(DATA_SRC_SUBDIR)/wild_encounters.json $(DATA_SRC_SUBDIR)/wild_encounters.json.txt
|
|
$(JSONPROC) $^ $@
|
|
|
|
$(C_BUILDDIR)/wild_encounter.o: c_dep += $(DATA_SRC_SUBDIR)/wild_encounters.h
|