1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
@echo off
REM RGL windows build tool setup
REM This file is part of the RGL software
REM (c) 2003 D.Adler
REM $Id: setup.bat,v 1.6 2004/02/27 17:34:39 dadler Exp $
set SRC=src
REM === SETUP build tool =====================================================
set TARGET=x%1
if %TARGET% == xmingw goto mingw
if %TARGET% == xvc goto vc
goto usage
REM === dump usage ===========================================================
:usage
echo usage: %0 [tool]
echo supported build tools:
echo mingw MinGW
echo vc Microsoft Visual C++
goto return
REM === build tool: mingw ====================================================
:mingw
echo include build/mingw/Makefile >%SRC%\Makefile.win
goto done
REM === build tool: vc =======================================================
:vc
echo include build/vc/Makefile >%SRC%\Makefile.win
goto done
REM === SETUP DONE ===========================================================
:done
echo setup.bat: configured for build tool '%1'
:return
|