new style Makefile
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 29 May 1993 04:01:46 +0000 (20:01 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 29 May 1993 04:01:46 +0000 (20:01 -0800)
SCCS-vsn: contrib/usr.x25/nimd/Makefile 5.2

usr/src/contrib/usr.x25/nimd/Makefile

index d846177..2e69a1e 100644 (file)
@@ -1,25 +1,9 @@
-CFLAGS=-DCCITT -c -O
+#      @(#)Makefile    5.2 (Berkeley) %G%
 
 
-nimd:  nim.o ../lib/x25lib.a buf.o commands.o x29.o
-       cc nim.o buf.o commands.o x29.o ../lib/x25lib.a -o nimd
+PROG=  nimd
+MAN8=  nimd.0
+SRCS=  buf.c commands.c nim.c x29.c
+LDADD= -lx25
+CFLAGS= -DCCITT
 
 
-install: nimd
-       install -c -m 740 -s nimd /etc/nimd
-
-nim.o: nim.c buf.h nim.h
-       cc ${CFLAGS} nim.c
-
-buf.o: buf.c buf.h
-       cc ${CFLAGS} buf.c
-
-commands.o: commands.c nim.h
-       cc ${CFLAGS} commands.c
-
-x29.o: x29.c nim.h
-       cc ${CFLAGS} x29.c
-
-lint:  /tmp
-       lint -hbaxu -DCCITT nim.c buf.c x29.c commands.c
-
-clean:
-       rm -f core *.o *.CKP .emacs*
+.include <bsd.prog.mk>