xref: /original-bsd/usr.bin/f77/f77.vax/Makefile (revision c0f053f7)
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#
12#	@(#)Makefile	5.2 (Berkeley) 05/10/89
13#
14CFLAGS=	-DHERE=VAX -DTARGET=VAX -DFAMILY=PCC -DUCBVAXASM -DUCBPASS2 \
15	-O -I../include
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
32	install -s -o bin -g bin -m 755 f77 ${DESTDIR}/usr/bin
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
49f77: /usr/include/machine/machparam.h ../include/defines.h
50f77: ../include/machdefs.h drivedefs.h ../include/version.h
51f77: /usr/include/errno.h
52
53# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
54