aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index a97f183..9ce5451 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,5 +1,7 @@
-test: ../jimsh
- @for i in *.test; do ../jimsh $$i; done
+JIMSH ?= ../jimsh
+
+test: $(JIMSH)
+ @for i in *.test; do $(JIMSH) $$i; done
../jimsh: ../*.c
make -C .. all