Diff
Not logged in

Differences From:

File Makefile.w32 part of check-in [a0247159ea] - Correct SRCDIR in Makefile.w32 for successful build by altufaltu on 2009-08-29 19:02:40. Also file Makefile.w32 part of check-in [7a2c37063a] - merge trunk into creole branch by bob on 2009-09-22 07:49:39. Also file Makefile.w32 part of check-in [579cba4a1a] - Merge together the fork created by a0247159ea by drh on 2009-08-29 20:12:44. [view]

To:

File Makefile.w32 part of check-in [3275d9c63c] - update makefile for win32 by rwilson on 2009-10-21 15:43:23. [view]

@@ -15,9 +15,9 @@
 
 #### 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
@@ -26,9 +26,10 @@
 #
 #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
@@ -35,10 +36,10 @@
 #    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