summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-24 18:46:06 -0700
committerGitHub <noreply@github.com>2023-08-24 18:46:06 -0700
commit6f1dfa7411324588360022d9f56c581c122e68ac (patch)
tree076e483c9e5cd7e14badaae58f931d0511d03eaa /common.mk
parent775df74feb597555f0944ace2d59d10a24d4421e (diff)
Resurrect srcs dependency for YARP templates (#8285)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 5e3a4dfde2..92e2eddb4d 100644
--- a/common.mk
+++ b/common.mk
@@ -212,21 +212,27 @@ srcs: $(srcdir)/lib/yarp/serialize.rb
$(srcdir)/lib/yarp/serialize.rb: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/lib/yarp/serialize.rb.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb lib/yarp/serialize.rb $(srcdir)/lib/yarp/serialize.rb
+srcs: yarp/api_node.c
yarp/api_node.c: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/ext/yarp/api_node.c.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb ext/yarp/api_node.c $@
+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/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 $@
+srcs: yarp/prettyprint.c
yarp/prettyprint.c: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/src/prettyprint.c.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb src/prettyprint.c $@
+srcs: yarp/serialize.c
yarp/serialize.c: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/src/serialize.c.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb src/serialize.c $@
+srcs: yarp/token_type.c
yarp/token_type.c: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/src/token_type.c.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb src/token_type.c $@