Commit | Line | Data |
---|---|---|
0998157f KB |
1 | # |
2 | # Copyright (c) 1987 Regents of the University of California. | |
3 | # All rights reserved. | |
4 | # | |
5 | # Redistribution and use in source and binary forms are permitted | |
6 | # provided that this notice is preserved and that due credit is given | |
7 | # to the University of California at Berkeley. The name of the University | |
8 | # may not be used to endorse or promote products derived from this | |
9 | # software without specific prior written permission. This software | |
10 | # is provided ``as is'' without express or implied warranty. | |
11 | # | |
ca67e7b4 | 12 | # @(#)Makefile 5.1 (Berkeley) 12/12/87 |
0998157f | 13 | # |
ca67e7b4 C |
14 | CFLAGS= -DHERE=TAHOE -DTARGET=TAHOE -DFAMILY=PCC -DUCBVAXASM \ |
15 | -DUCBPASS2 -O -I$(INCLDIR)/usr/include -I../include | |
0998157f KB |
16 | LIBC= /lib/libc.a |
17 | SRCS= f77.c | |
18 | OBJS= f77.o | |
19 | ||
20 | all: f77 | |
21 | ||
22 | f77: ${SRCS} ${LIBC} | |
23 | ${CC} -o $@ ${CFLAGS} ${SRCS} | |
24 | ||
25 | clean: FRC | |
26 | rm -f ${OBJS} core f77 | |
27 | ||
28 | depend: FRC | |
29 | mkdep -p ${CFLAGS} ${SRCS} | |
30 | ||
31 | install: FRC | |
ca67e7b4 | 32 | install -s -o bin -g bin -m 755 f77 ${DESTDIR}/usr/bin/f77 |
0998157f KB |
33 | |
34 | lint: FRC | |
35 | lint ${CFLAGS} ${SRCS} | |
36 | ||
37 | tags: FRC | |
38 | ctags ${SRCS} | |
39 | ||
40 | FRC: | |
41 | ||
42 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
43 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
44 | ||
45 | f77: f77.c /usr/include/stdio.h /usr/include/sys/types.h | |
46 | f77: /usr/include/sys/stat.h /usr/include/ctype.h /usr/include/signal.h | |
47 | f77: /usr/include/machine/trap.h /usr/include/sys/time.h /usr/include/time.h | |
48 | f77: /usr/include/sys/resource.h /usr/include/sys/wait.h | |
ca67e7b4 C |
49 | f77: /usr/include/machine/endian.h ../include/defines.h ../include/machdefs.h |
50 | f77: drivedefs.h ../include/version.h /usr/include/errno.h | |
0998157f KB |
51 | |
52 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |