aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/common/makefile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-10-29 16:26:44 +0000
committerrsc <devnull@localhost>2005-10-29 16:26:44 +0000
commit5cdb17983ae6e6367ad7a940cb219eab247a9304 (patch)
tree8ca1ef49af2a96e7daebe624d91fdf679814a057 /src/cmd/upas/common/makefile
parentcd3745196389579fb78b9b01ef1daefb5a57aa71 (diff)
downloadplan9port-5cdb17983ae6e6367ad7a940cb219eab247a9304.tar.gz
plan9port-5cdb17983ae6e6367ad7a940cb219eab247a9304.tar.bz2
plan9port-5cdb17983ae6e6367ad7a940cb219eab247a9304.zip
Thanks to John Cummings.
Diffstat (limited to 'src/cmd/upas/common/makefile')
-rw-r--r--src/cmd/upas/common/makefile18
1 files changed, 18 insertions, 0 deletions
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
+