summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am
index e66bc5ef18..55032a9eae 100644
--- a/cpp/src/Makefile.am
+++ b/cpp/src/Makefile.am
@@ -3,11 +3,11 @@ SUBDIRS = . tests
# Generated code
-include generate.mk
-generate.mk $(generated_cpp) $(generated_h): gen
+generate.mk $(generated_cpp) $(generated_h): gen/timestamp
-gen: generate.sh $(generator)
+gen/timestamp: generate.sh $(generator)
$(srcdir)/generate.sh
- touch gen
+ touch $@
# Empty rule in case a generator file is renamed/removed.
$(generator):