diff --git a/Makefile b/Makefile
index f4e7ad947896c2a8842e7f1edafc52e15f319392..628fab60e0d5aa44a6335c2dbd9e6390d6d5e47b 100644
--- a/Makefile
+++ b/Makefile
@@ -431,12 +431,12 @@ _all: all
 	@echo " +               make install                +"  
 	@echo " +-------------------------------------------+"  
 
-all: include/autoconfig.h menuselect.makeopts cleantest depend asterisk subdirs
+all: config.status menuselect.makeopts cleantest depend asterisk subdirs
 
 configure:
 	-@./bootstrap.sh
 
-include/autoconfig.h: configure
+config.status: configure
 	@CFLAGS="" ./configure
 	@echo "****"
 	@echo "**** The configure script was just executed, so 'make' needs to be"