summaryrefslogtreecommitdiff
path: root/netware/build.bat
blob: 5c8e310a533d1a88309e69511828e691b7718dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off

cd ..\%1

if "%2" == "clean" make -f ..\netware\%1.mak clean
if "%2" == "/?" goto USAGE

if "%1" == "zend" call ..\netware\BisonFlexZend
if "%1" == "ZendEngine2" call ..\netware\BisonFlexZend

REM Build command
make -f ..\netware\%1.mak
goto EXIT

:USAGE
 @echo on
 @echo Usage: build moduleName [clean]
 @echo clean - delete all object files and binaries before building

:EXIT
cd ..\netware