source: trunk/mgpp/winMake.bat@ 4735

Last change on this file since 4735 was 3927, checked in by mdewsnip, 21 years ago

Windows batch file for compiling MGPP (including JNI wrapper).

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 476 bytes
Line 
1@echo off
2
3set MAKE=nmake
4set MAKE_OPTIONS=/f
5
6if ""%1"" == """" goto go
7if ""%1"" == ""compile"" goto go
8if ""%1"" == ""install"" goto go
9if ""%1"" == ""clean"" goto go
10
11:unknown
12 echo Error: Unrecognized argument %1.
13 goto done
14
15:go
16 cd lib
17 %MAKE% %MAKE_OPTIONS% win32.mak %1
18 cd ..
19
20 cd text
21 %MAKE% %MAKE_OPTIONS% win32.mak %1
22 cd ..
23
24 cd java\org\greenstone\mgpp
25 call winMake.bat %1
26 cd ..\..\..\..
27
28 cd jni
29 %MAKE% %MAKE_OPTIONS% win32.mak %1
30 cd ..
31 goto done
32
33:done
Note: See TracBrowser for help on using the repository browser.