Permalink
Browse files

Some Borland C++ makefile tweaks.

  • Loading branch information...
1 parent 03ea06b commit 308db9d780e234d37c3aa48432a76b8eb99dc4d2 @gknauf gknauf committed Jan 11, 2011
Showing with 18 additions and 8 deletions.
  1. +9 −4 lib/Makefile.b32
  2. +9 −4 src/Makefile.b32
View
@@ -11,14 +11,19 @@
# Written by Jaepil Kim, pit@paradise.net.nz
############################################################
+# Check if BCCDIR is set.
+!if !$d(BCCDIR)
+!error BCCDIR isn't defined
+!endif
+
# Edit the path below to point to the base of your Zlib sources.
!ifndef ZLIB_PATH
-ZLIB_PATH = ../../zlib-1.2.1
+ZLIB_PATH = ../../zlib-1.2.5
!endif
# Edit the path below to point to the base of your OpenSSL package.
!ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.7d
+OPENSSL_PATH = ../../openssl-0.9.8q
!endif
# Set libcurl static lib, dll and import lib
@@ -29,8 +34,8 @@ LIBCURL_IMPLIB = libcurl_imp.lib
# Setup environment
CXX = bcc32
LD = bcc32
-CP = copy
-RM = del
+CP = copy 2>NUL
+RM = del /q /f 2>NUL
LIB = tlib
IMPLIB = implib
View
@@ -11,14 +11,19 @@
# Written by Jaepil Kim, pit@paradise.net.nz
############################################################
+# Check if BCCDIR is set.
+!if !$d(BCCDIR)
+!error BCCDIR isn't defined
+!endif
+
# Edit the path below to point to the base of your Zlib sources.
!ifndef ZLIB_PATH
-ZLIB_PATH = ../../zlib-1.2.1
+ZLIB_PATH = ../../zlib-1.2.5
!endif
# Edit the path below to point to the base of your OpenSSL package.
!ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.7d
+OPENSSL_PATH = ../../openssl-0.9.8q
!endif
# Set program's name
@@ -27,8 +32,8 @@ PROGNAME = curl.exe
# Setup environment
CXX = bcc32
LD = bcc32
-CP = copy
-RM = del
+CP = copy 2>NUL
+RM = del /q /f 2>NUL
LIB = tlib
CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM

0 comments on commit 308db9d

Please sign in to comment.