summaryrefslogtreecommitdiff
path: root/distrib/sun3/common/Make.static
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-23 15:58:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-23 15:58:34 +0000
commit018f89c090277b23e21223d3c6024d4486d0b3ed (patch)
tree1dc8c8db4294bfba6463b7cc60c1ec248ef863f8 /distrib/sun3/common/Make.static
parentaf17b126b4c74b74f453d3d9ebc956e537c50bf2 (diff)
update from netbsd
Diffstat (limited to 'distrib/sun3/common/Make.static')
-rw-r--r--distrib/sun3/common/Make.static11
1 files changed, 11 insertions, 0 deletions
diff --git a/distrib/sun3/common/Make.static b/distrib/sun3/common/Make.static
new file mode 100644
index 00000000000..afab996c833
--- /dev/null
+++ b/distrib/sun3/common/Make.static
@@ -0,0 +1,11 @@
+#
+# $NetBSD: Make.static,v 1.1 1995/11/21 21:18:51 gwr Exp $
+#
+# This is logically appended to some other makefile, i.e.
+# using: make -f Makefile -f $(OUTDIR)/Make.static ...
+STRIP_CMD=strip
+
+${OUTDIR}/${PROG} : ${OBJS} ${LIBC} ${DPADD}
+ ${CC} -static ${LDFLAGS} -o ${OUTDIR}/${PROG} ${OBJS} ${LDADD}
+ ${STRIP_CMD} ${OUTDIR}/${PROG}
+