summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile')
-rw-r--r--cpp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index 269fb75de5..36d0ad58ee 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -60,8 +60,8 @@ TRANSFORM := java -jar $(CURDIR)/tools/saxon8.jar -o results.out $(SPEC)
generate: gen/timestamp
gen/timestamp: $(wildcard etc/stylesheets/*.xsl) $(SPEC)
mkdir -p gen/qpid/framing
- echo > gen/timestamp
- cd gen/qpid/framing && for s in $(STYLESHEETS) ; do $(TRANSFORM) $$s ; done
+ ( cd gen/qpid/framing && for s in $(STYLESHEETS) ; do $(TRANSFORM) $$s ; done ) && echo > gen/timestamp
+
gen $(wildcard gen/qpid/framing/*.cpp): gen/timestamp
## Libraries