diff --git a/make/compiler_flags b/make/compiler_flags index 929647ee77d..a736830fc1a 100644 --- a/make/compiler_flags +++ b/make/compiler_flags @@ -1,6 +1,6 @@ # Find files subroutine for different operating system # This is recursive version of the makefiles wildcard function -findfiles = $(foreach d,$(wildcard $(addsuffix *,$(1))),$(call findfiles,$(d)/,$(2)) $(wildcard $(d)/$(2))) +findfiles = $(subst \n,,$(foreach d,$(wildcard $(addsuffix *,$(1))),$(call findfiles,$(d)/,$(2)) $(wildcard $(d)/$(2)))) ifneq ($(OS),Windows_NT) GENERATE_DISTRIBUTION_TESTS=true diff --git a/makefile b/makefile index cba287ce86e..4174a189fad 100644 --- a/makefile +++ b/makefile @@ -126,7 +126,7 @@ clean-all: clean clean-doxygen clean-deps clean-libraries .PHONY: test-math-dependencies test-math-dependencies: - @python runChecks.py + @./runChecks.py ## # Debug target that allows you to print a variable ##