diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index 17cb66f9ff..e66bc5ef18 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -3,8 +3,11 @@ SUBDIRS = . tests # Generated code -include generate.mk -generate.mk $(generated_cpp) $(generated_h): generate.sh $(generator) +generate.mk $(generated_cpp) $(generated_h): gen + +gen: generate.sh $(generator) $(srcdir)/generate.sh + touch gen # Empty rule in case a generator file is renamed/removed. $(generator): |