summaryrefslogtreecommitdiff
path: root/distrib/sun3/common/Make.static
diff options
context:
space:
mode:
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}
+