summaryrefslogtreecommitdiff
path: root/benchmarks/whetstone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/whetstone/Makefile')
-rw-r--r--benchmarks/whetstone/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/benchmarks/whetstone/Makefile b/benchmarks/whetstone/Makefile
new file mode 100644
index 00000000000..69e2f4a1f62
--- /dev/null
+++ b/benchmarks/whetstone/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 1998/08/30 17:51:16 garbled Exp $
+
+DISTNAME= whetstone
+PKGNAME= whetstone-1.2
+CATEGORIES= benchmarks
+MASTER_SITES= http://www.netlib.org/benchmark/
+EXTRACT_SUFX= .c
+
+MAINTAINER= root@garbled.net
+
+NO_WRKSUBDIR= yes
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/whetstone.c ${WRKSRC}
+
+do-build:
+ (cd ${WRKSRC} ; cc -O2 -o whetstone whetstone.c -lm)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/whetstone ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"