From 661e4047414cca7ee479da656c41a97aad054250 Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 27 Feb 2009 02:06:33 +0000 Subject: [PATCH] added bat script for compile libretroshare with MinGW Makefile update mingw script git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1058 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/mingw32make.bat | 3 +++ libretroshare/src/scripts/config-mingw.mk | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 libretroshare/src/mingw32make.bat diff --git a/libretroshare/src/mingw32make.bat b/libretroshare/src/mingw32make.bat new file mode 100644 index 000000000..42162b1e3 --- /dev/null +++ b/libretroshare/src/mingw32make.bat @@ -0,0 +1,3 @@ +mingw32-make -f Makefile %1 +if errorlevel 1 goto end +:end diff --git a/libretroshare/src/scripts/config-mingw.mk b/libretroshare/src/scripts/config-mingw.mk index 34708e327..b6ec3a160 100644 --- a/libretroshare/src/scripts/config-mingw.mk +++ b/libretroshare/src/scripts/config-mingw.mk @@ -1,9 +1,9 @@ #### #Define OS. # -OS = Linux +#OS = Linux #OS = Cygwin -#OS = Win # MinGw. +OS = Win # MinGw. # # # @@ -51,12 +51,12 @@ else #MinGw.... MINGW_SRC_ROOT=c:\home\rmfern\prog\MinGW - SSL_DIR=$(MINGW_SRC_ROOT)\openssl-0.9.7g - FLTK_DIR=$(MINGW_SRC_ROOT)\FLTK-1.1.6 - PTHREADS_DIR=$(MINGW_SRC_ROOT)\pthreads\pthreads.2 - KADC_DIR=$(MINGW_SRC_ROOT)\debug\KadC-2006-Oct-19 + SSL_DIR=$(MINGW_SRC_ROOT)\openssl-0.9.7g-xpgp-0.1c + PTHREADS_DIR=$(MINGW_SRC_ROOT)\pthreads-w32-2-8-0-release ZLIB_DIR=$(MINGW_SRC_ROOT)\zlib-1.2.3 - UPNPC_DIR=$(MINGW_SRC_ROOT)\miniupnpc-20070515 + UPNPC_DIR=$(MINGW_SRC_ROOT)\miniupnpc-1.0 + KADC_DIR=$(MINGW_SRC_ROOT)\debug\KadC-2006-Oct-19 + FLTK_DIR=$(MINGW_SRC_ROOT)\FLTK-1.1.6 endif