BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.bin / f77 / f77.tahoe / f77 / Makefile
CommitLineData
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
14CFLAGS= -DHERE=TAHOE -DTARGET=TAHOE -DFAMILY=PCC -DUCBVAXASM \
15 -DUCBPASS2 -O -I$(INCLDIR)/usr/include -I../include
0998157f
KB
16LIBC= /lib/libc.a
17SRCS= f77.c
18OBJS= f77.o
19
20all: f77
21
22f77: ${SRCS} ${LIBC}
23 ${CC} -o $@ ${CFLAGS} ${SRCS}
24
25clean: FRC
26 rm -f ${OBJS} core f77
27
28depend: FRC
29 mkdep -p ${CFLAGS} ${SRCS}
30
31install: FRC
ca67e7b4 32 install -s -o bin -g bin -m 755 f77 ${DESTDIR}/usr/bin/f77
0998157f
KB
33
34lint: FRC
35 lint ${CFLAGS} ${SRCS}
36
37tags: FRC
38 ctags ${SRCS}
39
40FRC:
41
42# DO NOT DELETE THIS LINE -- mkdep uses it.
43# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
44
45f77: f77.c /usr/include/stdio.h /usr/include/sys/types.h
46f77: /usr/include/sys/stat.h /usr/include/ctype.h /usr/include/signal.h
47f77: /usr/include/machine/trap.h /usr/include/sys/time.h /usr/include/time.h
48f77: /usr/include/sys/resource.h /usr/include/sys/wait.h
ca67e7b4
C
49f77: /usr/include/machine/endian.h ../include/defines.h ../include/machdefs.h
50f77: drivedefs.h ../include/version.h /usr/include/errno.h
0998157f
KB
51
52# IF YOU PUT ANYTHING HERE IT WILL GO AWAY