summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-05-14 06:19:50 +0000
committerasami <asami@FreeBSD.org>1995-05-14 06:19:50 +0000
commit036ab16a2c1504773e0f13dd8abbd042483d0da0 (patch)
tree292662945cde505b6eaa69d8c8d19e215d0abc1e /benchmarks
parentfc49d0a9a889a732a8a50cc5775fee135fb067c7 (diff)
downloadFreeBSD-ports-036ab16a2c1504773e0f13dd8abbd042483d0da0.zip
FreeBSD-ports-036ab16a2c1504773e0f13dd8abbd042483d0da0.tar.gz
The Makefile that has three targets, "results", "rerun" and "see", gets
copied over to ${PREFIX}/lib/lmbench.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/lmbench/files/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmarks/lmbench/files/Makefile b/benchmarks/lmbench/files/Makefile
new file mode 100644
index 0000000..cb0a152
--- /dev/null
+++ b/benchmarks/lmbench/files/Makefile
@@ -0,0 +1,15 @@
+# A Makefile for the installed lmbench
+BINDIR = ./bin/bsd
+
+results:
+ @(cd scripts; ./config-run ${BINDIR}/CONFIG)
+ @(cd scripts; ./results)
+
+rerun:
+ @(if [ ! -f bin/bsd/CONFIG ]; then \
+ (cd scripts; ./config-run ${BINDIR}/CONFIG); \
+ fi)
+ @(cd scripts; ./results)
+
+see:
+ cd Results && make summary percent | more
OpenPOWER on IntegriCloud