summaryrefslogtreecommitdiff
path: root/framework/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Makefile')
-rw-r--r--framework/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/framework/Makefile b/framework/Makefile
index b198cc3d4c32..3225bc97e12c 100644
--- a/framework/Makefile
+++ b/framework/Makefile
@@ -25,7 +25,15 @@
#
#*************************************************************************
-include $(dir $(firstword $(MAKEFILE_LIST)))/../SourcePath.mk
+ifneq ($(MAKE_VERSION),3.81)
+$(error You need at least GNU Make 3.81!)
+endif
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../SourcePath.mk
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk