@ECHO OFF



REM #########################################################################

REM ## Crytek Source File

REM ## Copyright (C) 2007, Crytek Studios

REM ##

REM ## Creator: Sascha Demetrio

REM ## Date: Apr 11, 2007

REM ## Description: GNU-make based build system

REM #########################################################################



REM # Batch file performing the 'Build' operation for the VS integration.



REM # Arguments:

REM # %1 The base directory.

REM # %2 The project source directory.

REM # %3 The project name.

REM # %4 The name of the build configuration.



SETLOCAL



CALL %1/Code/Tools/Make/Tools/setup.bat %1 %2 %3 %4



make.exe CYGWIN_BASEDIR=%BASE_DIR% %MAKE_OPTIONS%

IF ERRORLEVEL 1 EXIT %ERRORLEVEL%



