summaryrefslogtreecommitdiff
path: root/benchmarks/fib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/fib/Makefile')
-rw-r--r--benchmarks/fib/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/benchmarks/fib/Makefile b/benchmarks/fib/Makefile
new file mode 100644
index 00000000000..06c97aa0251
--- /dev/null
+++ b/benchmarks/fib/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/10/22 05:55:46 garbled Exp $
+
+DISTNAME= fib.c
+PKGNAME= fib-980203
+CATEGORIES= benchmarks
+MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/fib/
+EXTRACT_SUFX= #empty
+
+MAINTAINER= root@garbled.net
+
+NO_WRKSUBDIR= yes
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/fib.c ${WRKSRC}/fib.c
+
+do-build:
+ (cd ${WRKSRC} ; cc -O2 -DUNIX -o fib fib.c -lm)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fib ${PREFIX}/bin
+
+benchmark:
+ -@${WRKSRC}/fib
+
+.include "../../mk/bsd.pkg.mk"