2019-04-28 19:12:26 +02:00
|
|
|
# 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) $^ $@
|
2019-04-30 21:28:31 +02:00
|
|
|
|
2019-05-02 16:21:58 +02:00
|
|
|
$(C_BUILDDIR)/wild_encounter.o: c_dep += $(DATA_SRC_SUBDIR)/wild_encounters.h
|
2022-04-05 05:22:43 +02:00
|
|
|
|
|
|
|
AUTO_GEN_TARGETS += $(DATA_SRC_SUBDIR)/region_map/region_map_entries.h
|
|
|
|
$(DATA_SRC_SUBDIR)/region_map/region_map_entries.h: $(DATA_SRC_SUBDIR)/region_map/region_map_sections.json $(DATA_SRC_SUBDIR)/region_map/region_map_sections.json.txt
|
|
|
|
$(JSONPROC) $^ $@
|
|
|
|
|
|
|
|
$(C_BUILDDIR)/region_map.o: c_dep += $(DATA_SRC_SUBDIR)/region_map/region_map_entries.h
|