|
|
1.1 root 1: NAMES=alloc arc bquote builtins dir expand gen glob graph job\
2: lex main makefile match mk parse quote\
3: recipe regexp rule run shprint sig symtab t_ar t_driver t_file var word
4: OBJ=${NAMES:%=%.o}
5: NPROC=2
6: BUILTINS=
7: # for profiling, use -p -DPROF
8: CFLAGS=-I.. -DSYSV
9:
10: nmk: $OBJ
11: $CC $CFLAGS -o nmk $OBJ fio/fio.a libc/libc.a math/math.a
12:
13: goo:V: nmk
14: nmk
15:
16: clean:V:
17: rm -f cyntax nmk *.o O/*
18:
19: install:V: nmk
20: cp nmk /usr/bin/mk
21: strip /usr/bin/mk
22:
23: pp:V:
24: pr *.h *.c | lp -dpsu -n2
25:
26: %.o: mk.h
27:
28: %.o: %.c
29: $CC $CFLAGS -c $stem.c
30:
31: tut.out: tut.ms
32: pic tut.ms | tbl | troff -Tpost -ms > tut.out
33:
34: sane:V: nmk
35: cp nmk goo
36: rm arc.o; goo -e
37: goo -e -wjob.o
38:
39: poot:V: nmk
40: echo 'pooter Any Dk,g nj/fart/whistle.uucp' >> /n/research/usr/lib/uucp/Systems.dk
41: ./nmk -k -i -f /usr/lib/upas/mkfile NPROC=1 systems
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.