|
|
1.1 root 1: # @(#)Makefile 4.2 (Berkeley) 82/10/27
2: #
3: CFLAGS=-c -w -DCOPYCODE -DC2
4: LDFLAGS=
5: ASDIR = /usr/src/bin/as
6:
7: SRCS = makefile c2.h c20.c c21.c c22.c
8:
9: c2: c20.o c21.o c22.o
10: $(CC) $(LDFLAGS) -z -o c2 c2?.o
11:
12: c20.o: c20.c c2.h
13: c21.o: c21.c c2.h
14: c22.o: c22.c c2.h instrs.c2
15: $(CC) $(CFLAGS) -R c22.c
16:
17: instrs.c2: $(ASDIR)/instrs
18: (echo FLAVOR C2 ; cat $(ASDIR)/instrs) | awk -f /usr/src/bin/as/instrs > instrs.c2
19:
20: clean:
21: rm -f *.o *.s
22:
23: install: c2
24: install -s c2 $(DESTDIR)/lib
25:
26: sources: $(SRCS)
27:
28: $(ASDIR)/instrs:
29: (cd $(ASDIR); sccs get instrs)
30:
31: $(SRCS):
32: sccs get $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.