summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2c7b28c56d233ea18084276b26570be9529a41f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)/*