diff options
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules b/Rules index 0f9116b628..2353cc34a0 100644 --- a/Rules +++ b/Rules @@ -91,8 +91,12 @@ endif ifeq ($(cross-compiling),yes) tests: $(addprefix $(objpfx),$(tests) $(tests-static) $(test-srcs)) else +ifneq (($build-static),yes) +tests: $(tests:%=$(objpfx)%.out) +else tests: $(tests:%=$(objpfx)%.out) $(tests-static:%=$(objpfx)%.sout) endif +endif ifeq ($(build-programs),yes) binaries-all = $(others) $(sysdep-others) $(tests) $(test-srcs) |