summaryrefslogtreecommitdiff
path: root/benchmarks/heapsort
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/heapsort')
-rw-r--r--benchmarks/heapsort/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/heapsort/Makefile b/benchmarks/heapsort/Makefile
index 312b82e2118..55d2f77efc9 100644
--- a/benchmarks/heapsort/Makefile
+++ b/benchmarks/heapsort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/10/22 06:07:24 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/26 15:59:56 garbled Exp $
DISTNAME= heapsort.c
PKGNAME= heapsort-1.0
@@ -21,6 +21,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/heapsort ${PREFIX}/bin
benchmark:
- -@${WRKSRC}/heapsort
+ -@${WRKSRC}/heapsort | tee ${WRKSRC}/heapsort.out
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/heapsort.out /tmp/benches/`domainname`/heapsort.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"