source: other-projects/cascade-make/trunk/lib/cascade-lib.bat@ 22122

Last change on this file since 22122 was 22122, checked in by davidb, 11 years ago

Initial import of cascade make, which supports compiling source code extensions to Greenstone

File size: 722 bytes
Line 
1@echo off
2
3if "x%GSDLOS%" == "x" (
4 set GSDLOS=windows
5)
6
7set force_untar=0
8set auto_untar=0
9
10set compile=0
11set install=0
12set clean=0
13set distclean=0
14set tarclean=0
15set installclean=0
16
17if "%*" NEQ "" (
18 for /D %%c IN (%*) do (
19 echo %%c
20 if "%%c" == "untar" set force_untar=1
21 if "%%c" == "compile" set compile=1
22 if "%%c" == "install" set install=1
23 if "%%c" == "clean" set clean=1
24 if "%%c" == "distclean" set distclean=1
25 if "%%c" == "tarclean" set tarclean=1
26 if "%%c" == "installclean" set installclean=1
27 )
28) else (
29 :: defaults
30 set auto_untar=1
31 set compile=1
32 set install=1
33 set clean=0
34 set distclean=0
35 set tarclean=0
36 set installclean=0
37)
38
Note: See TracBrowser for help on using the repository browser.