|
|
1.1 root 1: </$objtype/mkfile
2:
3: TARG=rc
4: FILES=code.c\
5: exec.c\
6: getflags.c\
7: glob.c\
8: here.c\
9: io.c\
10: lex.c\
11: pcmd.c\
12: pfnc.c\
13: simple.c\
14: subr.c\
15: trap.c\
16: tree.c\
17: var.c\
18:
19: FILES9=plan9.c\
20:
21: FILESUNIX=unix.c\
22:
23: CFILES=$FILES $FILES9 y.tab.c
24: OFILES=${CFILES:%.c=%.$O}
25: HFILES=rc.h\
26: x.tab.h\
27: io.h\
28: exec.h\
29: fns.h\
30:
31: YFILES=syn.y
32:
33: BIN=/$objtype/bin
34: </sys/src/cmd/mkone
35: CFLAGS=
36:
37: x.tab.h: y.tab.h
38: cmp -s x.tab.h y.tab.h || cp y.tab.h x.tab.h
39:
40: clean:V:
41: rm -f [$OS].out *.[$OS] [xy].tab.? y.debug $TARG
42:
43: regress: $O.out
44: cd test
45: mk
46:
47: unregress:V:
48: for(test in test/*.test) rc $test >$test.out
49:
50: listing:
51: pr mkfile $HFILES $FILES $FILES9 $FILESUNIX $YFILES|lp -du
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.