Commit | Line | Data |
---|---|---|
5df42cd1 KB |
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 5.1 (Berkeley) %G% | |
7 | # | |
8 | CFLAGS= -O | |
9 | LIBC= /lib/libc.a | |
10 | SRCS= fpr.c | |
11 | OBJS= fpr.o | |
12 | ||
13 | all: fpr | |
14 | ||
15 | fpr: ${SRCS} ${LIBC} | |
16 | ${CC} -o $@ ${CFLAGS} ${SRCS} | |
17 | ||
18 | clean: FRC | |
19 | rm -f ${OBJS} core fpr | |
20 | ||
21 | depend: FRC | |
22 | mkdep -p ${CFLAGS} ${SRCS} | |
23 | ||
24 | install: FRC | |
25 | install -s -o bin -g bin -m 755 fpr ${DESTDIR}/usr/ucb/fpr | |
26 | ||
27 | lint: FRC | |
28 | lint ${CFLAGS} ${SRCS} | |
29 | ||
30 | tags: FRC | |
31 | ctags ${SRCS} | |
32 | ||
33 | FRC: | |
34 | ||
35 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
36 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
37 | ||
38 | fpr: fpr.c /usr/include/stdio.h | |
39 | ||
40 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |