summaryrefslogtreecommitdiffstats
path: root/depend.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-04 12:29:52 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-04 12:29:52 -0800
commitd96a1fa869072053d943badb6e3904a7d7a2d4de (patch)
tree3cfa8dee4f676612519da592feff3191bbbd771f /depend.txr
parentbdccbad1c7da40d80f976858582574eb3c76dd40 (diff)
downloadtxr-d96a1fa869072053d943badb6e3904a7d7a2d4de.tar.gz
txr-d96a1fa869072053d943badb6e3904a7d7a2d4de.tar.bz2
txr-d96a1fa869072053d943badb6e3904a7d7a2d4de.zip
Got build to work in separate build directory.
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)