Check-in [3275d9c63c]
Not logged in
Overview

SHA1 Hash:3275d9c63ce62cb1e21f20a0a8c8be5ca1aa19a8
Date: 2009-10-21 15:43:23
User: rwilson
Comment:update makefile for win32
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified Makefile.w32 from [8092d93409] to [900e354562].

@@ -14,11 +14,11 @@
 BCC = gcc -g -O2
 
 #### The suffix to add to executable files.  ".exe" for windows.
 #    Nothing for unix.
 #
-E =
+E = .exe
 
 #### C Compile and options for use in building executables that
 #    will run on the target platform.  This is usually the same
 #    as BCC, unless you are cross-compiling.  This C compiler builds
 #    the finished binary for fossil.  The BCC compiler above is used
@@ -25,24 +25,25 @@
 #    for building intermediate code-generator tools.
 #
 #TCC = gcc -O6
 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
 #TCC = gcc -g -Os -Wall
-TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
+#TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
+TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include
 
 #### Extra arguments for linking the finished binary.  Fossil needs
 #    to link against the Z-Lib compression library.  There are no
 #    other dependencies.  We sometimes add the -static option here
 #    so that we can build a static executable that will run in a
 #    chroot jail.
 #
 #LIB = -lz
-LIB = -lz -lws2_32
-
+#LIB = -lz -lws2_32
+LIB = -lmingwex -lz -lws2_32
 
 #### Tcl shell for use in running the fossil testsuite.
 #
 TCLSH = tclsh
 
 # You should not need to change anything below this line
 ###############################################################################
 include $(SRCDIR)/main.mk