diff options
author | Yang Tse <yangsita@gmail.com> | 2011-01-12 18:07:04 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-01-12 18:07:04 +0100 |
commit | 5f7d34811a1ff21d4a8962e3c7c99d4a702bd684 (patch) | |
tree | 5035d6967d57a34fd814321f589cb940dd4dee2a /src/Makefile.b32 | |
parent | 42f5e8a0f1729b17547acfc6625e58e583811e8d (diff) | |
download | curl-5f7d34811a1ff21d4a8962e3c7c99d4a702bd684.tar.gz |
build: BCC - recover lost functionality from commit 3d813204260b37289411
Borland's $(MAKEDIR) expands to the path where make.exe is located,
use this feature to define BCCDIR when user has not defined BCCDIR.
Diffstat (limited to 'src/Makefile.b32')
-rw-r--r-- | src/Makefile.b32 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.b32 b/src/Makefile.b32 index 2f0a07794..53e9f2d05 100644 --- a/src/Makefile.b32 +++ b/src/Makefile.b32 @@ -10,9 +10,10 @@ # Written by Jaepil Kim, pit@paradise.net.nz ############################################################ -# Check if BCCDIR is set. -!if !$d(BCCDIR) -!error BCCDIR not defined +# Borland's $(MAKEDIR) expands to the path where make.exe is located, +# use this feature to define BCCDIR when user has not defined BCCDIR. +!if "$(BCCDIR)" == "" +BCCDIR = $(MAKEDIR)\.. !endif # Edit the path below to point to the base of your Zlib sources. |