aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/csmith/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/csmith/Makefile')
-rw-r--r--test/monniaux/csmith/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile
index ab7931f1..274b3b84 100644
--- a/test/monniaux/csmith/Makefile
+++ b/test/monniaux/csmith/Makefile
@@ -90,7 +90,9 @@ ran%/example.host_target.cmp : ran%/example.gcc.host.out ran%/example.ccomp.targ
clean:
-rm -rf ran*
-csmith/bin/csmith:
- curl -L -o csmith-2.3.0.tar.gz https://embed.cs.utah.edu/csmith/csmith-2.3.0.tar.gz
+csmith-2.3.0.tar.gz:
+ curl -L -O $@ https://embed.cs.utah.edu/csmith/csmith-2.3.0.tar.gz
+
+csmith/bin/csmith: csmith-2.3.0.tar.gz
tar xfz csmith-2.3.0.tar.gz
WD=`pwd` && cd csmith-2.3.0 && ./configure --prefix=$$WD/csmith && make install