Fossil SCM

update makefile for win32

rwilson 2009-10-21 15:43 trunk
Commit 3275d9c63ce62cb1e21f20a0a8c8be5ca1aa19a8
1 file changed +5 -4
+5 -4
--- Makefile.w32
+++ Makefile.w32
@@ -14,11 +14,11 @@
1414
BCC = gcc -g -O2
1515
1616
#### The suffix to add to executable files. ".exe" for windows.
1717
# Nothing for unix.
1818
#
19
-E =
19
+E = .exe
2020
2121
#### C Compile and options for use in building executables that
2222
# will run on the target platform. This is usually the same
2323
# as BCC, unless you are cross-compiling. This C compiler builds
2424
# the finished binary for fossil. The BCC compiler above is used
@@ -25,24 +25,25 @@
2525
# for building intermediate code-generator tools.
2626
#
2727
#TCC = gcc -O6
2828
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
2929
#TCC = gcc -g -Os -Wall
30
-TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
30
+#TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
31
+TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include
3132
3233
#### Extra arguments for linking the finished binary. Fossil needs
3334
# to link against the Z-Lib compression library. There are no
3435
# other dependencies. We sometimes add the -static option here
3536
# so that we can build a static executable that will run in a
3637
# chroot jail.
3738
#
3839
#LIB = -lz
39
-LIB = -lz -lws2_32
40
-
40
+#LIB = -lz -lws2_32
41
+LIB = -lmingwex -lz -lws2_32
4142
4243
#### Tcl shell for use in running the fossil testsuite.
4344
#
4445
TCLSH = tclsh
4546
4647
# You should not need to change anything below this line
4748
###############################################################################
4849
include $(SRCDIR)/main.mk
4950
--- Makefile.w32
+++ Makefile.w32
@@ -14,11 +14,11 @@
14 BCC = gcc -g -O2
15
16 #### The suffix to add to executable files. ".exe" for windows.
17 # Nothing for unix.
18 #
19 E =
20
21 #### C Compile and options for use in building executables that
22 # will run on the target platform. This is usually the same
23 # as BCC, unless you are cross-compiling. This C compiler builds
24 # the finished binary for fossil. The BCC compiler above is used
@@ -25,24 +25,25 @@
25 # for building intermediate code-generator tools.
26 #
27 #TCC = gcc -O6
28 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
29 #TCC = gcc -g -Os -Wall
30 TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
 
31
32 #### Extra arguments for linking the finished binary. Fossil needs
33 # to link against the Z-Lib compression library. There are no
34 # other dependencies. We sometimes add the -static option here
35 # so that we can build a static executable that will run in a
36 # chroot jail.
37 #
38 #LIB = -lz
39 LIB = -lz -lws2_32
40
41
42 #### Tcl shell for use in running the fossil testsuite.
43 #
44 TCLSH = tclsh
45
46 # You should not need to change anything below this line
47 ###############################################################################
48 include $(SRCDIR)/main.mk
49
--- Makefile.w32
+++ Makefile.w32
@@ -14,11 +14,11 @@
14 BCC = gcc -g -O2
15
16 #### The suffix to add to executable files. ".exe" for windows.
17 # Nothing for unix.
18 #
19 E = .exe
20
21 #### C Compile and options for use in building executables that
22 # will run on the target platform. This is usually the same
23 # as BCC, unless you are cross-compiling. This C compiler builds
24 # the finished binary for fossil. The BCC compiler above is used
@@ -25,24 +25,25 @@
25 # for building intermediate code-generator tools.
26 #
27 #TCC = gcc -O6
28 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
29 #TCC = gcc -g -Os -Wall
30 #TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
31 TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include
32
33 #### Extra arguments for linking the finished binary. Fossil needs
34 # to link against the Z-Lib compression library. There are no
35 # other dependencies. We sometimes add the -static option here
36 # so that we can build a static executable that will run in a
37 # chroot jail.
38 #
39 #LIB = -lz
40 #LIB = -lz -lws2_32
41 LIB = -lmingwex -lz -lws2_32
42
43 #### Tcl shell for use in running the fossil testsuite.
44 #
45 TCLSH = tclsh
46
47 # You should not need to change anything below this line
48 ###############################################################################
49 include $(SRCDIR)/main.mk
50

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button