[PATCH 2/3] bench: simplify the `rand` target

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
* etc/bench.pl.in: There is no need to recompile the bench cases
themselves.
---
 etc/bench.pl.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/etc/bench.pl.in b/etc/bench.pl.in
index 2f669091..66e11d30 100755
--- a/etc/bench.pl.in
+++ b/etc/bench.pl.in
@@ -954,9 +954,10 @@ EOF
 bench: main
 \t./main \$(BENCHFLAGS) | tee -a README.md
 
+# Link the bench cases in a different order.
 .PHONY: rand
 rand:
-\t-rm main \$(OBJECTS)
+\t-rm main
 \tmake bench OBJECTS="\$\$(shuf -e \$(OBJECTS) | xargs)"
 EOF
 
-- 
2.27.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.