aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-15 17:21:07 +0000
committerGunter Knauf <gk@gknw.de>2004-07-15 17:21:07 +0000
commitd759e97166ffbe31ee475452ab7fd6109e9d6f86 (patch)
treee3a467afa11c2bd8f5a0a4318f802196a4c59cab /src
parentcbfc737d797100db74d76c1118486380edcf5961 (diff)
removed unneeded libs from linking.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.b3218
1 files changed, 8 insertions, 10 deletions
diff --git a/src/Makefile.b32 b/src/Makefile.b32
index d471faa69..b1ea5fdc7 100644
--- a/src/Makefile.b32
+++ b/src/Makefile.b32
@@ -34,29 +34,27 @@ LIB = tlib
TOPDIR = ..
CURNTDIR = .
-CXXFLAGS = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM
+CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM
# CXXFLAGS = -5 -O2 -WC -w-par -w-csu -w-aus
LDFLAGS = -lap
INCDIRS = -I$(CURNTDIR);$(TOPDIR)/include;$(TOPDIR)/lib
-LINKLIB = $(BCCDIR)/lib/cw32mt.lib $(BCCDIR)/lib/psdk/winmm.lib $(BCCDIR)/lib/psdk/ws2_32.lib
+LINKLIB = $(BCCDIR)/lib/cw32mt.lib
LIBCURLLIB = $(TOPDIR)/lib/libcurl.lib
# If you build with SSL support, set WITH_SSL=1
-DEFINES = -DNDEBUG -DLIBCURL_BIGENDIAN=0 -DWIN32 -DCONSOLE -DMBCS
-!ifdef WITH_SSL
-DEFINES = $(DEFINES) -DUSE_SSLEAY
-INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
-LINKLIB = $(LINKLIB) $(OPENSSL_PATH)/out32/ssleay32.lib $(OPENSSL_PATH)/out32/libeay32.lib
-!endif
+DEFINES = -DNDEBUG -DLIBCURL_BIGENDIAN=0 -DWIN32 -D_CONSOLE -D_MBCS
!ifdef WITH_ZLIB
DEFINES = $(DEFINES) -DHAVE_LIBZ
INCDIRS = $(INCDIRS);$(ZLIB_PATH)
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
!endif
-
-.SUFFIXES: .c
+!ifdef WITH_SSL
+DEFINES = $(DEFINES) -DUSE_SSLEAY
+INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
+LINKLIB = $(LINKLIB) $(OPENSSL_PATH)/out32/ssleay32.lib $(OPENSSL_PATH)/out32/libeay32.lib
+!endif
.autodepend