summaryrefslogtreecommitdiffstats
path: root/depend.txr
blob: fc67696d57b89c2fa58805af1ffefd5d6b05e81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@(next :args)
@(collect)
@(cases)
@dir/@file.o
@(or)
@file.o
@(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)/@dir/@hdr`)
@(end)
@(end)
@(output)
@dir/@file.o:@(rep) @header@(end)
@(end)
@(end)