u-boot/board/MAI/bios_emulator/scitech/bin/wc10-w16.bat

33 lines
826 B
Batchfile
Raw Normal View History

@echo off
REM Setup for compiling with Watcom C/C++ 10.6 in 16 bit Windows mode
if .%CHECKED%==.1 goto checked_build
SET LIB=%SCITECH_LIB%\LIB\RELEASE\WIN16\WC10;.
echo Release build enabled.
goto setvars
:checked_build
SET LIB=%SCITECH_LIB%\LIB\DEBUG\WIN16\WC10;.
echo Checked debug build enabled.
goto setvars
:setvars
SET EDPATH=%WC10_PATH%\EDDAT
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%WC10_PATH%\H;%WC10_PATH%\H\WIN;
SET WATCOM=%WC10_PATH%
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\WC16.MK
SET USE_WIN16=1
SET USE_WIN32=
SET USE_WIN386=
SET USE_OS216=
SET USE_OS232=
SET USE_OS2GUI=
SET USE_SNAP=
SET USE_QNX4=
SET WC_LIBBASE=WC10
SET EDPATH=%WC10_PATH%\EDDAT
PATH %SCITECH_BIN%;%WC10_PATH%\BINNT;%WC10_PATH%\BINW;%DEFPATH%%WC_CD_PATH%
echo Watcom C/C++ 10.6 16-bit Windows compilation environment set up.