build: BCC - recover lost functionality from commit 3d81320426

Borland's $(MAKEDIR) expands to the path where make.exe is located,
use this feature to define BCCDIR when user has not defined BCCDIR.
This commit is contained in:
Yang Tse 2011-01-12 18:07:04 +01:00
parent 42f5e8a0f1
commit 5f7d34811a
2 changed files with 8 additions and 6 deletions

View File

@ -10,9 +10,10 @@
# Written by Jaepil Kim, pit@paradise.net.nz # Written by Jaepil Kim, pit@paradise.net.nz
############################################################ ############################################################
# Check if BCCDIR is set. # Borland's $(MAKEDIR) expands to the path where make.exe is located,
!if !$d(BCCDIR) # use this feature to define BCCDIR when user has not defined BCCDIR.
!error BCCDIR not defined !if "$(BCCDIR)" == ""
BCCDIR = $(MAKEDIR)\..
!endif !endif
# Edit the path below to point to the base of your Zlib sources. # Edit the path below to point to the base of your Zlib sources.

View File

@ -10,9 +10,10 @@
# Written by Jaepil Kim, pit@paradise.net.nz # Written by Jaepil Kim, pit@paradise.net.nz
############################################################ ############################################################
# Check if BCCDIR is set. # Borland's $(MAKEDIR) expands to the path where make.exe is located,
!if !$d(BCCDIR) # use this feature to define BCCDIR when user has not defined BCCDIR.
!error BCCDIR not defined !if "$(BCCDIR)" == ""
BCCDIR = $(MAKEDIR)\..
!endif !endif
# Edit the path below to point to the base of your Zlib sources. # Edit the path below to point to the base of your Zlib sources.