diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-06-21 13:12:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 13:12:56 -0400 |
commit | 010db05e735e0ac11efcf0d800205324cc0f2be9 (patch) | |
tree | 9109eaf029ee3253a554e50df5584d540ff243f8 /json_data_rules.mk | |
parent | caa193364bf786cb567ed16eb4670ed2cc4cb362 (diff) | |
parent | 3444ac708a0dfc9e99c34a3c19159e786d8ab9f1 (diff) |
Merge pull request #71 from pret/item_use
item_use and item
Diffstat (limited to 'json_data_rules.mk')
-rw-r--r-- | json_data_rules.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/json_data_rules.mk b/json_data_rules.mk new file mode 100644 index 000000000..1c731078a --- /dev/null +++ b/json_data_rules.mk @@ -0,0 +1,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 |