Merge pull request #1382 from simonduq/pr/compile-test-fix

Compile-test: show make variables in log output
This commit is contained in:
George Oikonomou 2015-11-18 17:41:47 +00:00
commit 513d8bc9d5

View file

@ -40,7 +40,7 @@ get_target = $(firstword $(subst :, ,$1))
get_target_vars = $(wordlist 2,15,$(subst :, ,$1)) get_target_vars = $(wordlist 2,15,$(subst :, ,$1))
define dooneexample define dooneexample
@echo Building example $(3): $(1) for target $(2) @echo Building example $(3): $(1) $(4) for target $(2)
@((cd $(EXAMPLESDIR)/$(1); \ @((cd $(EXAMPLESDIR)/$(1); \
make $(4) TARGET=$(2) clean && make $(4) TARGET=$(2) WERROR=1) > \ make $(4) TARGET=$(2) clean && make $(4) TARGET=$(2) WERROR=1) > \
$(3)-$(subst /,-,$(1))$(2).report 2>&1 && \ $(3)-$(subst /,-,$(1))$(2).report 2>&1 && \