summaryrefslogtreecommitdiff
path: root/json_data_rules.mk
blob: 1c731078a34bbd49409711793266214c332401ab (plain)
1
2
3
4
5
6
7
8
9
# 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 += src/data/items.h

src/data/items.h: src/data/items.json src/data/items.json.txt
	$(JSONPROC) $^ $@

$(BUILD_DIR)/src/item.o: C_DEP += src/data/items.h