source: main/tags/3.01/mgpp/winMake.bat@ 21112

Last change on this file since 21112 was 9776, checked in by kjdon, 19 years ago

added the java compilation into the all target - need to do it before the jni one

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 593 bytes
Line 
1@echo off
2
3set MAKE=nmake
4set MAKE_OPTIONS=/f
5
6if ""%1"" == """" goto all
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 if ""%2"" == ""javaonly"" goto java
17
18:all
19 cd lib
20 %MAKE% %MAKE_OPTIONS% win32.mak %1
21 cd ..
22
23 cd text
24 %MAKE% %MAKE_OPTIONS% win32.mak %1
25 cd ..
26
27 cd java\org\greenstone\mgpp
28 call winMake.bat %1
29 cd ..\..\..\..
30
31 cd jni
32 %MAKE% %MAKE_OPTIONS% win32.mak %1
33 cd ..
34
35:java
36 cd java\org\greenstone\mgpp
37 call winMake.bat %1
38 cd ..\..\..\..
39 goto done
40
41:done
Note: See TracBrowser for help on using the repository browser.