Fossil SCM
update makefile for win32
Commit
3275d9c63ce62cb1e21f20a0a8c8be5ca1aa19a8
Parent
d78835d2ffb6672…
1 file changed
+5
-4
+5
-4
| --- Makefile.w32 | ||
| +++ Makefile.w32 | ||
| @@ -14,11 +14,11 @@ | ||
| 14 | 14 | BCC = gcc -g -O2 |
| 15 | 15 | |
| 16 | 16 | #### The suffix to add to executable files. ".exe" for windows. |
| 17 | 17 | # Nothing for unix. |
| 18 | 18 | # |
| 19 | -E = | |
| 19 | +E = .exe | |
| 20 | 20 | |
| 21 | 21 | #### C Compile and options for use in building executables that |
| 22 | 22 | # will run on the target platform. This is usually the same |
| 23 | 23 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 24 | 24 | # the finished binary for fossil. The BCC compiler above is used |
| @@ -25,24 +25,25 @@ | ||
| 25 | 25 | # for building intermediate code-generator tools. |
| 26 | 26 | # |
| 27 | 27 | #TCC = gcc -O6 |
| 28 | 28 | #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage |
| 29 | 29 | #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 | |
| 31 | 32 | |
| 32 | 33 | #### Extra arguments for linking the finished binary. Fossil needs |
| 33 | 34 | # to link against the Z-Lib compression library. There are no |
| 34 | 35 | # other dependencies. We sometimes add the -static option here |
| 35 | 36 | # so that we can build a static executable that will run in a |
| 36 | 37 | # chroot jail. |
| 37 | 38 | # |
| 38 | 39 | #LIB = -lz |
| 39 | -LIB = -lz -lws2_32 | |
| 40 | - | |
| 40 | +#LIB = -lz -lws2_32 | |
| 41 | +LIB = -lmingwex -lz -lws2_32 | |
| 41 | 42 | |
| 42 | 43 | #### Tcl shell for use in running the fossil testsuite. |
| 43 | 44 | # |
| 44 | 45 | TCLSH = tclsh |
| 45 | 46 | |
| 46 | 47 | # You should not need to change anything below this line |
| 47 | 48 | ############################################################################### |
| 48 | 49 | include $(SRCDIR)/main.mk |
| 49 | 50 |
| --- 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 |