summaryrefslogtreecommitdiffstats
path: root/depend.txr
diff options
context:
space:
mode:
Diffstat (limited to 'depend.txr')
-rw-r--r--depend.txr8
1 files changed, 7 insertions, 1 deletions
diff --git a/depend.txr b/depend.txr
index 7fa2183c..23feba6b 100644
--- a/depend.txr
+++ b/depend.txr
@@ -3,7 +3,13 @@
@file.c
@(next)@file.c
@(collect)
-#include "@header"
+#include "@hdr"
+@(cases)
+@(bind hdr ("y.tab.h"))
+@(bind header hdr)
+@(or)
+@(bind header `$(top_srcdir)/@hdr`)
+@(end)
@(end)
@(output)
@file.o:@(rep) @header@(end)