Skip to content

Commit

Permalink
Instead of exiting with error lets set BCCDIR self.
Browse files Browse the repository at this point in the history
  • Loading branch information
gknauf committed Jan 11, 2011
1 parent 308db9d commit 3d81320
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions lib/Makefile.b32
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 3 additions & 7 deletions src/Makefile.b32
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3d81320

Please sign in to comment.