Commit | Line | Data |
---|---|---|
f644bb55 DF |
1 | # |
2 | # Copyright (c) 1983 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
95f51977 | 6 | # @(#)Makefile 5.2 (Berkeley) 2/3/86 |
91651ac2 | 7 | # |
23eeaca6 | 8 | ALL= ftpd.o ftpcmd.o glob.o vers.o |
91651ac2 SL |
9 | DESTDIR= |
10 | CFLAGS= -O | |
11 | ||
23eeaca6 SL |
12 | ftpd: ${ALL} |
13 | ${CC} -o ftpd ${ALL} | |
91651ac2 SL |
14 | |
15 | vers.o: ftpd.c ftpcmd.y | |
16 | sh newvers.sh | |
17 | ${CC} -c vers.c | |
18 | ||
19 | install: | |
20 | install -s ftpd ${DESTDIR}/etc/ftpd | |
21 | ||
22 | clean: | |
23eeaca6 | 23 | rm -f ftpd *.o *.s errs core a.out t.? yacc.* y.tab.c |