defs-cpp.mk: Defs-cpp.mk performance optimization

Disable most external code for clean targets

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-06-24 12:45:15 +00:00
commit da09c46fa3

View file

@ -1,6 +1,9 @@
ifndef JW_BUILD_CPP_DEFS_MK_INCLUDED
JW_BUILD_CPP_DEFS_MK_INCLUDED := true
# performance optimization for clean targets
ifeq ($(filter clean distclean,$(MAKECMDGOALS)),)
# -- default choices
#COMPILER_SUITE ?= clang
@ -803,4 +806,5 @@ INSTALLED_LIB += $(INSTALLED_LIB_SO) $(INSTALLED_SHOBJS) \
$(INSTALLED_LINKS_SO) $(sort $(INSTALLED_LIB_A) $(INSTALLED_ALL_LIBS)) \
$(INSTALLED_DEF)
endif # ifeq ($(filter clean distclean,$(MAKECMDGOALS)),)
endif # ifndef JW_BUILD_CPP_DEFS_MK_INCLUDED