about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T16·39+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T16·39+0200
commitab4eba5b91a25c7b6c225758334219cb3f2e4547 (patch)
treec1e3742b0eca5cfd0e6dd35c71985afa13ad1ea4
parenta6f4554656d24d488627c713274e2cae82fc51d3 (diff)
Handle header file instantiation
-rw-r--r--templates.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates.mk b/templates.mk
index 8e8b28643f5c..84364297b359 100644
--- a/templates.mk
+++ b/templates.mk
@@ -8,5 +8,8 @@ define instantiate-template
 
 endef
 
+%.h: %.h.in
+	$(trace-gen) ./config.status --quiet --header=$@
+
 %: %.in
-	$(trace-gen) ./config.status --quiet --file $@
+	$(trace-gen) ./config.status --quiet --file=$@