about summary refs log tree commit diff
path: root/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 0fc1787968..7b00d48435 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -64,9 +64,14 @@ before-compile	:= testcases.h
 include ../Rules
 
 ifeq (no,$(cross-compiling))
-tests: $(objpfx)globtest $(objpfx)wordexp-test
-	$(SHELL) -e globtest.sh $(common-objpfx) $(elf-objpfx) $(rtld-installed-name)
-	$(SHELL) -e wordexp-tst.sh $(common-objpfx) $(elf-objpfx) $(rtld-installed-name)
+.PHONY: do-globtest do-wordexp-tst
+tests: do-globtest do-wordexp-test
+do-globtest: $(objpfx)globtest
+	$(SHELL) -e globtest.sh $(common-objpfx) $(elf-objpfx) \
+		 $(rtld-installed-name)
+do-wordexp-test: $(objpfx)wordexp-test
+	$(SHELL) -e wordexp-tst.sh $(common-objpfx) $(elf-objpfx) \
+		 $(rtld-installed-name)
 endif
 
 CFLAGS-regex.c = -Wno-unused -Wno-strict-prototypes