move the include directory
[unix-history] / usr / src / usr.bin / f77 / f77.tahoe / Makefile
CommitLineData
9730721d
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#
dc0e9d50 12# @(#)Makefile 5.2 (Berkeley) %G%
9730721d
KB
13#
14CFLAGS= -DHERE=TAHOE -DTARGET=TAHOE -DFAMILY=PCC -DUCBVAXASM \
15 -DUCBPASS2 -O -I$(INCLDIR)/usr/include -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
dc0e9d50 25clean:
9730721d
KB
26 rm -f ${OBJS} core f77
27
dc0e9d50
KB
28cleandir: clean
29 rm -f ${MAN} tags .depend
30
31depend: ${SRCS}
9730721d
KB
32 mkdep -p ${CFLAGS} ${SRCS}
33
dc0e9d50
KB
34install: ${MAN}
35 install -s -o bin -g bin -m 755 f77 ${DESTDIR}/usr/bin
9730721d 36
dc0e9d50 37lint: ${SRCS}
9730721d
KB
38 lint ${CFLAGS} ${SRCS}
39
dc0e9d50 40tags: ${SRCS}
9730721d 41 ctags ${SRCS}