diff options
| author | Guenter Knauf <lists@gknw.net> | 2011-01-11 18:22:42 +0100 | 
|---|---|---|
| committer | Guenter Knauf <lists@gknw.net> | 2011-01-11 18:22:42 +0100 | 
| commit | 3d813204260b372894110031cde8595e700ecc85 (patch) | |
| tree | 776336e88063cb7ffdac93657376bd0257935eea | |
| parent | 308db9d780e234d37c3aa48432a76b8eb99dc4d2 (diff) | |
Instead of exiting with error lets set BCCDIR self.
| -rw-r--r-- | lib/Makefile.b32 | 10 | ||||
| -rw-r--r-- | src/Makefile.b32 | 10 | 
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. | 
