New make target to only build benchmark binaries
authorSiddhesh Poyarekar <sid@reserved-bit.com>
Wed, 20 Apr 2016 04:53:28 +0000 (10:23 +0530)
committerSiddhesh Poyarekar <sid@reserved-bit.com>
Wed, 20 Apr 2016 04:53:28 +0000 (10:23 +0530)
commita00d3f4a8c19547b4050889965d9a2a93429ae51
tree1e796b1032343a4f7ddb947f4ed90c8daf0180b0
parent6f8222a1c52a9e577925b90d16b95be10ef50596
New make target to only build benchmark binaries

For situations where we are cross-building or where we want to avoid
building on the target system, we want a way to only build benchmarks
and then copy them over to the target system to run them.  I have also
added a simple enhancement for the 'bench' target where all benchmark
binaries are built and then the benchmarks executed.

Tested on arm.

Makefile.in (bench-build): New target.
Rules (PHONY): Add bench-build target.
benchtests/Makefile (bench): Depend on bench-build.
(bench-build): New target.
ChangeLog
Makefile.in
Rules
benchtests/Makefile