From 5cdb17983ae6e6367ad7a940cb219eab247a9304 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 29 Oct 2005 16:26:44 +0000 Subject: Thanks to John Cummings. --- src/cmd/upas/common/makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/cmd/upas/common/makefile (limited to 'src/cmd/upas/common/makefile') diff --git a/src/cmd/upas/common/makefile b/src/cmd/upas/common/makefile new file mode 100644 index 00000000..c7beae81 --- /dev/null +++ b/src/cmd/upas/common/makefile @@ -0,0 +1,18 @@ +CFLAGS=${UNIX} -g -I. -I../libc -I../common -I/usr/include ${SCFLAGS} +OBJS=mail.o aux.o string.o ${SYSOBJ} +AR=ar +.c.o: ; ${CC} -c ${CFLAGS} $*.c + +common.a: ${OBJS} + ${AR} cr common.a ${OBJS} + -ranlib common.a + +aux.o: aux.h string.h mail.h +string.o: string.h mail.h +mail.o: mail.h +syslog.o: sys.h +mail.h: sys.h + +clean: + -rm -f *.[oO] core a.out *.a *.sL common.a + -- cgit v1.2.3