diff --git a/Makefile b/Makefile index 8be4c320f1..e21b79a58a 100644 --- a/Makefile +++ b/Makefile @@ -123,16 +123,12 @@ GLOBAL_MAKEOPTS=$(wildcard /etc/asterisk.makeopts) USER_MAKEOPTS=$(wildcard ~/.asterisk.makeopts) ifneq ($(wildcard menuselect.makeopts),) - ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),) include menuselect.makeopts include menuselect.makedeps - endif endif ifneq ($(wildcard makeopts),) - ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),) include makeopts - endif endif TOPDIR_CFLAGS=-Iinclude @@ -427,15 +423,11 @@ db1-ast/libdb1.a: $(MAKE) -C db1-ast libdb1.a ifneq ($(wildcard .depend),) - ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),) include .depend - endif endif ifneq ($(wildcard .tags-depend),) - ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),) include .tags-depend - endif endif ast_expr2.c ast_expr2.h: