summaryrefslogtreecommitdiffstats
path: root/depend.txr
diff options
context:
space:
mode:
Diffstat (limited to 'depend.txr')
-rw-r--r--depend.txr8
1 files changed, 5 insertions, 3 deletions
diff --git a/depend.txr b/depend.txr
index fc67696d..3c5fbc37 100644
--- a/depend.txr
+++ b/depend.txr
@@ -1,10 +1,12 @@
@(next :args)
@(collect)
@(cases)
-@dir/@file.o
+@conf/@dir/@file.o
+@(bind pfx `@conf/@dir`)
@(or)
-@file.o
+@conf/@file.o
@(bind dir ".")
+@(bind pfx conf)
@(end)
@(next `@dir/@file.c`)
@(collect)
@@ -17,6 +19,6 @@
@(end)
@(end)
@(output)
-@dir/@file.o:@(rep) @header@(end)
+@pfx/@file.o:@(rep) @header@(end)
@(end)
@(end)