summaryrefslogtreecommitdiffstats
path: root/depend.txr
blob: 120ab1bdb6197ea7267061a51f4d461282bcbb08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@(next :args)
@(collect)
@(cases)
@conf/@dir/@file.o
@(bind pfx `@conf/@dir`)
@(or)
@conf/@file.o
@(bind dir ".")
@(bind pfx conf)
@(end)
@(next `@dir/@file.c`)
@(collect)
#include "@hdr"
@(cases)
@(bind hdr ("y.tab.h" "config.h"))
@(bind header hdr)
@(or)
@(bind header `$(top_srcdir)/@dir/@hdr`)
@(end)
@(end)
@(output)
DEP_@pfx/@file.o :=@(rep) @header@(end) config.make
@pfx/@file.o: $(DEP_@pfx/@file.o)
@(end)
@(end)