Now a make command does not fail for obscure reason at
the very start or after "make clean" command but it offers
to run the ./configure command instead.  This change is
not compatible with BSD PMake which does not support both
"-include" and "sinclude" directives but only ".sinclude"
directive so GNU Make should be used.
diff --git a/Makefile b/Makefile
index 74b6b78..469d330 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,16 @@
 
 NXT_LIB =	nxt
 
-include $(NXT_LIB)/Makefile.conf
+-include	$(NXT_LIB)/Makefile.conf
 
 NXT_BUILDDIR =	build
 
+unconfigured:
+	@echo
+	@echo "	Please run ./configure before make"
+	@echo
+
+main:	$(NXT_BUILDDIR)/libnjs.a
 
 $(NXT_BUILDDIR)/libnjs.a: \
 	$(NXT_BUILDDIR)/njscript.o \
@@ -81,7 +87,7 @@
 
 clean:
 	rm -rf $(NXT_BUILDDIR)
-	rm $(NXT_LIB)/Makefile.conf $(NXT_LIB)/nxt_auto_config.h
+	rm -f $(NXT_LIB)/Makefile.conf $(NXT_LIB)/nxt_auto_config.h
 
 tarball:
 	make clean
diff --git a/nxt/auto/configure b/nxt/auto/configure
index a4b828d..b734c33 100755
--- a/nxt/auto/configure
+++ b/nxt/auto/configure
@@ -55,3 +55,10 @@
 . ${NXT_AUTO}memalign
 . ${NXT_AUTO}getrandom
 . ${NXT_AUTO}pcre
+
+
+cat << END >> $NXT_MAKEFILE_CONF
+
+target:		main
+
+END