summaryrefslogtreecommitdiff
path: root/ext/syck/depend
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/depend')
-rw-r--r--ext/syck/depend22
1 files changed, 12 insertions, 10 deletions
diff --git a/ext/syck/depend b/ext/syck/depend
index 05303cdf47..f05bef303f 100644
--- a/ext/syck/depend
+++ b/ext/syck/depend
@@ -1,10 +1,12 @@
-handler.o: handler.c syck.h
-emitter.o: emitter.c syck.h
-implicit.o: implicit.c syck.h
-gram.o: gram.c syck.h
-bytecode.o: bytecode.c syck.h gram.h
-node.o: node.c syck.h
-syck.o: syck.c syck.h
-token.o: token.c syck.h gram.h
-yaml2byte.o: yaml2byte.c syck.h yamlbyte.h
-rubyext.o: rubyext.c syck.h
+ruby_headers = $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h \
+ $(hdrdir)/missing.h $(hdrdir)/intern.h $(hdrdir)/st.h
+bytecode.o: bytecode.c syck.h gram.h $(ruby_headers)
+emitter.o: emitter.c syck.h $(ruby_headers)
+gram.o: gram.c syck.h st.h
+handler.o: handler.c syck.h $(ruby_headers)
+implicit.o: implicit.c syck.h $(ruby_headers)
+node.o: node.c syck.h $(ruby_headers)
+rubyext.o: rubyext.c syck.h $(ruby_headers)
+syck.o: syck.c syck.h $(ruby_headers)
+token.o: token.c syck.h gram.h $(ruby_headers)
+yaml2byte.o: yaml2byte.c syck.h yamlbyte.h $(ruby_headers)