aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f441d90896..a2509248d5 100644
--- a/Makefile
+++ b/Makefile
@@ -280,10 +280,12 @@ parent_echo-distinfo:
$(addprefix +nodist+,$(generated))
+.PHONY: parent-tests
+tests: parent-tests
+
# Run a test on the header files we use.
-tests: $(objpfx)isomac
- $(objpfx)./isomac '$(CC)' '$(+sysdep-includes)' \
- >$(common-objpfx)isomac.out
+parent-tests: $(objpfx)isomac
+ $(dir $<)$(notdir $<) '$(CC)' '$(+sysdep-includes)' > $<.out
$(objpfx)isomac: isomac.c
$(native-compile)