diff options
Diffstat (limited to 'depend.txr')
-rw-r--r-- | depend.txr | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,17 +1,22 @@ @(next :args) @(collect) +@(cases) +@dir/@file.o +@(or) @file.o -@(next `@file.c`) +@(bind dir ".") +@(end) +@(next `@dir/@file.c`) @(collect) #include "@hdr" @(cases) @(bind hdr ("y.tab.h" "config.h")) @(bind header hdr) @(or) -@(bind header `$(top_srcdir)/@hdr`) +@(bind header `$(top_srcdir)/@dir/@hdr`) @(end) @(end) @(output) -@file.o:@(rep) @header@(end) +@dir/@file.o:@(rep) @header@(end) @(end) @(end) |