Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

build: BCC - recover lost functionality from commit 3d81320

Borland's $(MAKEDIR) expands to the path where make.exe is located,
use this feature to define BCCDIR when user has not defined BCCDIR.
  • Loading branch information...
commit 5f7d34811a1ff21d4a8962e3c7c99d4a702bd684 1 parent 42f5e8a
yangtse authored
7  lib/Makefile.b32
@@ -10,9 +10,10 @@
10 10
 #  Written by Jaepil Kim, pit@paradise.net.nz
11 11
 ############################################################
12 12
 
13  
-# Check if BCCDIR is set.
14  
-!if !$d(BCCDIR)
15  
-!error BCCDIR not defined
  13
+# Borland's $(MAKEDIR) expands to the path where make.exe is located,
  14
+# use this feature to define BCCDIR when user has not defined BCCDIR.
  15
+!if "$(BCCDIR)" == ""
  16
+BCCDIR = $(MAKEDIR)\..
16 17
 !endif
17 18
 
18 19
 # Edit the path below to point to the base of your Zlib sources.
7  src/Makefile.b32
@@ -10,9 +10,10 @@
10 10
 #  Written by Jaepil Kim, pit@paradise.net.nz
11 11
 ############################################################
12 12
 
13  
-# Check if BCCDIR is set.
14  
-!if !$d(BCCDIR)
15  
-!error BCCDIR not defined
  13
+# Borland's $(MAKEDIR) expands to the path where make.exe is located,
  14
+# use this feature to define BCCDIR when user has not defined BCCDIR.
  15
+!if "$(BCCDIR)" == ""
  16
+BCCDIR = $(MAKEDIR)\..
16 17
 !endif
17 18
 
18 19
 # Edit the path below to point to the base of your Zlib sources.

0 notes on commit 5f7d348

Please sign in to comment.
Something went wrong with that request. Please try again.