aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-01-12 20:53:28 +0100
committerYang Tse <yangsita@gmail.com>2011-01-12 20:53:28 +0100
commit61623b74e3337c9be44a7865eeb558f64c00576f (patch)
treefd7458366df1e003795d057399607a3614a03d62
parent5f7d34811a1ff21d4a8962e3c7c99d4a702bd684 (diff)
build: BCC - require Borlands's MAKE for Makefile.b32 processing.
-rw-r--r--lib/Makefile.b324
-rw-r--r--src/Makefile.b324
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
index eec7541be..0dacd8be0 100644
--- a/lib/Makefile.b32
+++ b/lib/Makefile.b32
@@ -10,6 +10,10 @@
# Written by Jaepil Kim, pit@paradise.net.nz
############################################################
+!if "$(__MAKE__)" == ""
+!error __MAKE__ not defined. Use Borlands's MAKE to process this makefile.
+!endif
+
# Borland's $(MAKEDIR) expands to the path where make.exe is located,
# use this feature to define BCCDIR when user has not defined BCCDIR.
!if "$(BCCDIR)" == ""
diff --git a/src/Makefile.b32 b/src/Makefile.b32
index 53e9f2d05..65183c8aa 100644
--- a/src/Makefile.b32
+++ b/src/Makefile.b32
@@ -10,6 +10,10 @@
# Written by Jaepil Kim, pit@paradise.net.nz
############################################################
+!if "$(__MAKE__)" == ""
+!error __MAKE__ not defined. Use Borlands's MAKE to process this makefile.
+!endif
+
# Borland's $(MAKEDIR) expands to the path where make.exe is located,
# use this feature to define BCCDIR when user has not defined BCCDIR.
!if "$(BCCDIR)" == ""