summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-08-25 15:47:25 -0400
committerKevin Newton <kddnewton@gmail.com>2023-08-25 15:47:25 -0400
commita7c7cd11bc5c33173f3eeab8600819f84fe2d662 (patch)
treea4e18c0f2c2306b079075b4e2df0fda62eb0ee57 /common.mk
parent2e29bd6ce08bd52b15d94bc35bb443874565edb3 (diff)
Update sync script to handle yarp/version.h
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index a05f0ddda9..627a5b954a 100644
--- a/common.mk
+++ b/common.mk
@@ -225,6 +225,10 @@ srcs: yarp/ast.h
yarp/ast.h: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/include/yarp/ast.h.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb include/yarp/ast.h $@
+srcs: yarp/version.h
+yarp/version.h: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/include/yarp/version.h.erb
+ $(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb include/yarp/version.h $@
+
srcs: yarp/node.c
yarp/node.c: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/src/node.c.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb src/node.c $@