Add rule to catch BSDMake
authorAlan T. DeKok <aland@freeradius.org>
Mon, 16 Jan 2017 15:25:49 +0000 (10:25 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 16 Jan 2017 15:25:49 +0000 (10:25 -0500)
Makefile

index 20a2e4d..3282f77 100644 (file)
--- a/Makefile
+++ b/Makefile
 #
 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