check before dereference.
[freeradius.git] / Makefile
index b9cdc78..3282f77 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,18 @@
 # Version:     $Id$
 #
 
+#
+#  The default rule is "all".
+#
+all:
+
+#
+#  Catch people who try to use BSD make
+#
+ifeq "0" "1"
+.error GNU Make is required to build FreeRADIUS
+endif
+
 $(if $(wildcard Make.inc),,$(error Missing 'Make.inc' Run './configure [options]' and retry))
 
 include Make.inc