BSD 4_3_Reno release
[unix-history] / usr / src / usr.bin / tftp / Makefile
index 5102174..89e84ad 100644 (file)
@@ -1,24 +1,6 @@
-# Makefile %G%
-ALL=   tftp tftpd
-DESTDIR=
-CFLAGS=-O
+#      @(#)Makefile    5.9 (Berkeley) 5/11/90
 
 
-all: ${ALL}
+PROG=  tftp
+SRCS=  main.c tftp.c tftpsubs.c
 
 
-.c.o:
-       ${CC} -S ${CFLAGS} $*.c
-       sed -f ../asm.sed $*.s | as -o $*.o
-       rm -f $*.s
-
-tftp:  main.o tftp.o
-       ${CC} main.o tftp.o -o tftp -ljobs
-
-tftpd: tftpd.o
-       ${CC} tftpd.o -o tftpd -ljobs
-
-clean:
-       rm -f ${ALL} *.o *.s errs core a.out t.?
-
-install: tftp tftpd
-       install -s tftp ${DESTDIR}/usr/ucb
-       install -s tftpd ${DESTDIR}/etc
+.include <bsd.prog.mk>