summaryrefslogtreecommitdiff
path: root/json_data_rules.mk
blob: 980e63e88d4b2d995d70539cd823a58576ae2726 (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) $^ $@

$(C_BUILDDIR)/item.o: c_dep += src/data/items.h