diff --git a/lib/log.mk b/lib/log.mk index b5ec7a4b..94a51ef9 100644 --- a/lib/log.mk +++ b/lib/log.mk @@ -30,6 +30,10 @@ MAKE += -s LOG = 2>>$(BUILDLOG) >/dev/null endif +ifeq (,$(filter-out $(DIRECT_TARGETS),$(MAKECMDGOALS))) +LOG = >/dev/null 2>&1 +endif + # in build.mk, naive TIME gets expanded a bit too early (no need to export btw) DATE = $(shell date +%Y%m%d) TIME = `date +%H:%M:%S`