Instead of exiting with error lets set BCCDIR self.

This commit is contained in:
Guenter Knauf 2011-01-11 18:22:42 +01:00
parent 308db9d780
commit 3d81320426
2 changed files with 6 additions and 14 deletions

View File

@ -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 File

@ -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.