mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-20 03:38:43 +00:00
35 lines
894 B
Batchfile
35 lines
894 B
Batchfile
|
@echo off
|
||
|
REM Setup for compiling with Watcom C/C++ 10.6 in 32 bit mode
|
||
|
|
||
|
if .%CHECKED%==.1 goto checked_build
|
||
|
SET LIB=%SCITECH_LIB%\LIB\RELEASE\SNAP\WC10;%WC10_PATH%\LIB386;%WC10_PATH%\LIB386\NT;.
|
||
|
echo Release build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:checked_build
|
||
|
SET LIB=%SCITECH_LIB%\LIB\DEBUG\SNAP\WC10;%WC10_PATH%\LIB386;%WC10_PATH%\LIB386\NT;.
|
||
|
echo Checked debug build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:setvars
|
||
|
SET EDPATH=%WC10_PATH%\EDDAT
|
||
|
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%WC10_PATH%\H
|
||
|
SET WATCOM=%WC10_PATH%
|
||
|
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\WC32.MK
|
||
|
SET USE_TNT=
|
||
|
SET USE_X32=
|
||
|
SET USE_X32VM=
|
||
|
SET USE_WIN16=
|
||
|
SET USE_WIN32=
|
||
|
SET USE_WIN386=
|
||
|
SET WIN32_GUI=
|
||
|
SET USE_OS216=
|
||
|
SET USE_OS232=
|
||
|
SET USE_OS2GUI=
|
||
|
SET USE_SNAP=1
|
||
|
SET USE_QNX4=
|
||
|
SET WC_LIBBASE=WC10
|
||
|
PATH %SCITECH_BIN%;%WC10_PATH%\BINNT;%WC10_PATH%\BINW;%DEFPATH%%WC_CD_PATH%
|
||
|
|
||
|
echo Watcom C/C++ 10.6 Snap compilation environment set up
|