Borland's $(MAKEDIR) expands to the path where make.exe is located,
use this feature to define BCCDIR when user has not defined BCCDIR.
# 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.
# 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.