|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 1.3 (Berkeley) 6/6/87
7: #
8: DESTDIR=
9: CFLAGS= -O
10: SRCS= c20.c c21.c c22.c c23.c
11: OBJS= c20.o c21.o c22.o c23.o
12:
13: all: c2
14: c2: ${OBJS} ${LIBC}
15: ${CC} -o $@ ${OBJS}
16:
17: c23.o: c23.c
18: ${CC} ${CFLAGS} -R -c c23.c
19:
20: c2.h: tokens
21: grep -n '^' tokens>toks
22: ( echo '/tokens/+1;/^$$/-1d'; \
23: echo '/tokens/r toks'; \
24: echo '/tokens/+1;/^$$/-1s/^\([0-9]*\):\([A-Z][A-Z0-9]*\)/#define \2 \1/'; \
25: echo 'w'; \
26: echo 'q'; \
27: ) | ed - c2.h
28: rm toks
29:
30: clean: FRC
31: rm -f *.o *.s c2
32:
33: install: FRC
34: install -s -o bin -g bin -m 755 c2 ${DESTDIR}/lib/c2
35:
36: tags: FRC
37: ctags ${SRCS}
38:
39: depend: FRC
40: mkdep ${CFLAGS} ${SRCS}
41:
42: FRC:
43:
44: # DO NOT DELETE THIS LINE -- mkdep uses it.
45: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
46:
47: c20.o: c20.c c2.h /usr/include/stdio.h /usr/include/ctype.h
48: c21.o: c21.c c2.h /usr/include/stdio.h /usr/include/ctype.h
49: c22.o: c22.c c2.h /usr/include/stdio.h /usr/include/ctype.h
50: c23.o: c23.c c2.h
51:
52: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.