aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.b3210
-rw-r--r--src/Makefile.b3210
2 files changed, 6 insertions, 14 deletions
diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
index 1f5d3fac2..77404a160 100644
--- a/lib/Makefile.b32
+++ b/lib/Makefile.b32
@@ -4,16 +4,12 @@
#
# 'lib' directory
#
-# 'BCCDIR' has to be set up to point to the base directory
-# of the compiler, i.e. SET BCCDIR = c:\Borland\BCC55
-# where c:\Borland\BCC55 is the compiler is installed
-#
# Written by Jaepil Kim, pit@paradise.net.nz
############################################################
-# Check if BCCDIR is set.
-!if !$d(BCCDIR)
-!error BCCDIR isn't defined
+# Check if BCCDIR is set and guess if not set.
+!ifndef BCCDIR
+BCCDIR = $(MAKEDIR)/..
!endif
# Edit the path below to point to the base of your Zlib sources.
diff --git a/src/Makefile.b32 b/src/Makefile.b32
index c418f1b47..e67c549bb 100644
--- a/src/Makefile.b32
+++ b/src/Makefile.b32
@@ -4,16 +4,12 @@
#
# 'src' directory
#
-# 'BCCDIR' has to be set up to point to the base directory
-# of the compiler, i.e. SET BCCDIR = c:\Borland\BCC55
-# where c:\Borland\BCC55 is the compiler is installed
-#
# Written by Jaepil Kim, pit@paradise.net.nz
############################################################
-# Check if BCCDIR is set.
-!if !$d(BCCDIR)
-!error BCCDIR isn't defined
+# Check if BCCDIR is set and guess if not set.
+!ifndef BCCDIR
+BCCDIR = $(MAKEDIR)/..
!endif
# Edit the path below to point to the base of your Zlib sources.