|
|
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/18/87
7: #
8: CFLAGS= -O
9: YFLAGS= -d
10: LIBC= /lib/libc.a
11: SRCS= r.c r0.c r1.c r2.c rio.c rlook.c rlex.c
12: OBJS= r.o r0.o r1.o r2.o rio.o rlook.o rlex.o
13:
14: all: ratfor
15:
16: ratfor: ${OBJS} ${LIBC}
17: ${CC} -o $@ ${CFLAGS} ${OBJS}
18:
19: clean: FRC
20: rm -f ${OBJS} core ratfor r.c
21:
22: depend: ${SRCS} FRC
23: mkdep ${CFLAGS} ${SRCS}
24:
25: install: FRC
26: install -s -o bin -g bin -m 755 ratfor ${DESTDIR}/usr/bin/ratfor
27:
28: lint: ${SRCS} FRC
29: lint ${CFLAGS} ${SRCS}
30:
31: tags: ${SRCS} FRC
32: ctags ${SRCS}
33:
34: FRC:
35:
36: # DO NOT DELETE THIS LINE -- mkdep uses it.
37: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
38:
39: r.o: r.c
40: r0.o: r0.c r.h /usr/include/stdio.h y.tab.h
41: r1.o: r1.c r.h /usr/include/stdio.h y.tab.h
42: r2.o: r2.c r.h /usr/include/stdio.h y.tab.h
43: rio.o: rio.c r.h /usr/include/stdio.h y.tab.h
44: rlook.o: rlook.c
45: rlex.o: rlex.c r.h /usr/include/stdio.h y.tab.h
46:
47: # 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.