Permalink
Browse files

Instead of exiting with error lets set BCCDIR self.

  • Loading branch information...
1 parent 308db9d commit 3d813204260b372894110031cde8595e700ecc85 @gknauf gknauf committed Jan 11, 2011
Showing with 6 additions and 14 deletions.
  1. +3 −7 lib/Makefile.b32
  2. +3 −7 src/Makefile.b32
View
@@ -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.
View
@@ -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.

0 comments on commit 3d81320

Please sign in to comment.