[Ttssh2-commit] [6631] SFMT のビルド用バッチファイルを追加

svnno****@sourc***** svnno****@sourc*****
2017年 3月 15日 (水) 19:30:44 JST


Revision: 6631
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6631
Author:   maya
Date:     2017-03-15 19:30:44 +0900 (Wed, 15 Mar 2017)
Log Message:
-----------
SFMT のビルド用バッチファイルを追加

Modified Paths:
--------------
    trunk/libs/buildall.bat

Added Paths:
-----------
    trunk/libs/buildSFMT.bat

-------------- next part --------------
Added: trunk/libs/buildSFMT.bat
===================================================================
--- trunk/libs/buildSFMT.bat	                        (rev 0)
+++ trunk/libs/buildSFMT.bat	2017-03-15 10:30:44 UTC (rev 6631)
@@ -0,0 +1,28 @@
+cd SFMT
+
+if not exist "Makefile.msc.release" goto end_mk_release
+echo CFLAGS = /MT /O2 /nologo> Makefile.msc.release
+echo;>> Makefile.msc.release
+echo SFMT.lib: SFMT.c>> Makefile.msc.release
+echo 	cl $(CFLAGS) /c SFMT.c>> Makefile.msc.release
+echo 	lib /out:SFMT.lib SFMT.obj>> Makefile.msc.release
+echo;>> Makefile.msc.release
+echo clean:>> Makefile.msc.release
+echo 	del *.lib *.obj>> Makefile.msc.release
+:end_mk_release
+
+if not exist "Makefile.msc.release" goto end_mk_debug
+echo CFLAGS = /MTd /Od /nologo> Makefile.msc.debug
+echo;>> Makefile.msc.debug
+echo SFMTd.lib: SFMT.c>> Makefile.msc.debug
+echo 	cl $(CFLAGS) /c SFMT.c>> Makefile.msc.debug
+echo 	lib /out:SFMTd.lib SFMT.obj>> Makefile.msc.debug
+echo;>> Makefile.msc.debug
+echo clean:>> Makefile.msc.debug
+echo 	del *.lib *.obj>> Makefile.msc.debug
+:end_mk_debug
+
+nmake /f Makefile.msc.debug
+nmake /f Makefile.msc.release
+
+cd ..

Modified: trunk/libs/buildall.bat
===================================================================
--- trunk/libs/buildall.bat	2017-03-15 08:40:19 UTC (rev 6630)
+++ trunk/libs/buildall.bat	2017-03-15 10:30:44 UTC (rev 6631)
@@ -1,3 +1,4 @@
 CALL buildoniguruma6.bat
 CALL buildzlib.bat
 CALL buildopenssl.bat
+CALL buildSFMT.bat



Ttssh2-commit メーリングリストの案内