aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-01-13 15:33:34 +0100
committerYang Tse <yangsita@gmail.com>2011-01-13 15:33:34 +0100
commit1da65c3d4d4bfb5c2545fbbc68964eedb817b047 (patch)
tree7c8e5ed5278085a29c4716040da0f4ae460bc586
parentd5410854071c3c668171863ef3d384fe85db1f15 (diff)
build: BCC - makefile.b32 tweak
Check for BCCDIR environment var done now as other checks.
-rw-r--r--lib/Makefile.b322
-rw-r--r--src/Makefile.b322
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
index 04d3d298a..21c2d8a7e 100644
--- a/lib/Makefile.b32
+++ b/lib/Makefile.b32
@@ -16,7 +16,7 @@
# 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)" == ""
+!ifndef BCCDIR
BCCDIR = $(MAKEDIR)\..
!endif
diff --git a/src/Makefile.b32 b/src/Makefile.b32
index 65183c8aa..d2cf49e7e 100644
--- a/src/Makefile.b32
+++ b/src/Makefile.b32
@@ -16,7 +16,7 @@
# 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)" == ""
+!ifndef BCCDIR
BCCDIR = $(MAKEDIR)\..
!endif