cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Makefile Issues

From: Ben Greear <greearb_at_candelatech.com>
Date: Wed, 20 Jul 2005 12:57:09 -0700

T kyer wrote:
> I continue to make progress with the makefile issues. It is
> now generating 9 object files

I'm jumping in late on this thread...appologies if I'm
missing something. However, I have been compiling with mingw
for a while with no problems.

Here's my makefile snippet:

ifeq "${WIN32}" "1"

${CURL_VER}/lib/.libs/libcurl.a: ${CURL_VER} Makefile
         echo "Building MingW curl: ${CURL_VER}"
         (cd ${CURL_VER}/lib; ZLIB=1 SSL=1 OPENSSL_PATH=${PROG_HOME}/3plibs/OpenSSL make -f Makefile.m32)
         mkdir -p ${CURL_VER}/lib/.libs/
         cp ${CURL_VER}/lib/libcurl.a ${CURL_VER}/lib/.libs/
         cp ${CURL_VER}/lib/libcurldll.a ${CURL_VER}/lib/.libs/
         cp ${CURL_VER}/lib/libcurl.dll ../server/

else

I'm currently using curl-7.13.2

Now, getting OpenSSL to compile was a total pain in the arse, but I
eventually got that working as well (as you can see, it is referenced in
the make command above.)

Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
Received on 2005-07-20