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

Last change on this file since 8950 was 6416, checked in by mdewsnip, 20 years ago

Added option to compile just the Java stuff.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 526 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 jni
28 %MAKE% %MAKE_OPTIONS% win32.mak %1
29 cd ..
30
31:java
32 cd java\org\greenstone\mgpp
33 call winMake.bat %1
34 cd ..\..\..\..
35 goto done
36
37:done
Note: See TracBrowser for help on using the repository browser.