source: indexers/trunk/mgpp/winMake.bat@ 19524

Last change on this file since 19524 was 19524, checked in by ak19, 15 years ago

Dr Bainbridge updated the Windows makefiles to 1. Take the DEBUG flag so that we can recompile all of GS2 in the Vis C++ 2005 Express Edition command prompt and then use its Debugger on the C code. 2. Now GS2 make clean command cleans up all object and lib files that its make generates.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 915 bytes
RevLine 
[3927]1@echo off
2
3set MAKE=nmake
4set MAKE_OPTIONS=/f
5
[19524]6if "%DEBUG%" == "" (
7 set MAKE_VARS=DEBUG=0
8) else (
9 set MAKE_VARS=DEBUG=%DEBUG%
10)
11
[6416]12if ""%1"" == """" goto all
[13756]13if ""%1"" == ""all"" goto go
[3927]14if ""%1"" == ""install"" goto go
15if ""%1"" == ""clean"" goto go
16
17:unknown
18 echo Error: Unrecognized argument %1.
19 goto done
20
21:go
[6416]22 if ""%2"" == ""javaonly"" goto java
[13729]23 if ""%2"" == ""nojava"" goto nojava
[6416]24
25:all
[3927]26 cd lib
[19524]27 %MAKE% %MAKE_OPTIONS% win32.mak %1 %MAKE_VARS%
[3927]28 cd ..
29
30 cd text
[19524]31 %MAKE% %MAKE_OPTIONS% win32.mak %1 %MAKE_VARS%
[3927]32 cd ..
33
[9776]34 cd java\org\greenstone\mgpp
35 call winMake.bat %1
36 cd ..\..\..\..
37
[6416]38 cd jni
[19524]39 %MAKE% %MAKE_OPTIONS% win32.mak %1 %MAKE_VARS%
[6416]40 cd ..
[13729]41 goto done
[6416]42
43:java
[3927]44 cd java\org\greenstone\mgpp
45 call winMake.bat %1
46 cd ..\..\..\..
47 goto done
48
[13729]49:nojava
50 cd lib
[19524]51 %MAKE% %MAKE_OPTIONS% win32.mak %1 %MAKE_VARS%
[13729]52 cd ..
53
54 cd text
[19524]55 %MAKE% %MAKE_OPTIONS% win32.mak %1 %MAKE_VARS%
[13729]56 cd ..
57 goto done
58
[3927]59:done
[13840]60
Note: See TracBrowser for help on using the repository browser.