summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..2c7b28c56
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+TMPL_DIR := templates
+
+.PHONY: interface_definitions
+.ONESHELL:
+interface_definitions:
+ find $(CURDIR)/interface-definitions/ -type f | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR)
+
+.PHONY: all
+all: interface_definitions
+
+.PHONY: clean
+clean:
+ rm -rf $(TMPL_DIR)/*