Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Instead of exiting with error lets set BCCDIR self.

  • Loading branch information...
commit 3d813204260b372894110031cde8595e700ecc85 1 parent 308db9d
@gknauf gknauf authored
Showing with 6 additions and 14 deletions.
  1. +3 −7 lib/Makefile.b32
  2. +3 −7 src/Makefile.b32
View
10 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.
View
10 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.
Please sign in to comment.
Something went wrong with that request. Please try again.