49 |
SET OCC=%OSDK% |
SET OCC=%OSDK% |
50 |
SET LCC65=%OSDK% |
SET LCC65=%OSDK% |
51 |
SET LCC65DIR=%OSDK% |
SET LCC65DIR=%OSDK% |
52 |
|
SET OSDKVERSION=1.14RC |
53 |
|
|
54 |
:: |
:: |
55 |
:: Create a build directory if it does not exist |
:: Create a build directory if it does not exist |
78 |
:: Display a compilation message |
:: Display a compilation message |
79 |
:: Note: Should find a way to disable the adress display for BASIC programs... kind of lame |
:: Note: Should find a way to disable the adress display for BASIC programs... kind of lame |
80 |
:: |
:: |
81 |
ECHO Building the program %OSDKNAME% at adress %OSDKADDR% |
ECHO Building the program %OSDKNAME% at adress %OSDKADDR% [OSDK %OSDKVERSION%] |
82 |
|
|
83 |
|
|
84 |
:: |
:: |
167 |
IF ERRORLEVEL 1 GOTO ErFailure |
IF ERRORLEVEL 1 GOTO ErFailure |
168 |
|
|
169 |
IF "%OSDKBRIEF%"=="" ECHO - convert C to assembly code |
IF "%OSDKBRIEF%"=="" ECHO - convert C to assembly code |
170 |
%OSDKB%\cpp.exe -lang-c++ -imacros %OSDK%\macro\macros.h -traditional -P %OSDKT%\%1.c2 %OSDKT%\%1.s |
%OSDKB%\cpp.exe -lang-c++ -imacros %OSDK%\macro\macros.h -DXA -traditional -P %OSDKT%\%1.c2 %OSDKT%\%1.s |
171 |
|
|
172 |
IF "%OSDKBRIEF%"=="" ECHO - cleanup output |
IF "%OSDKBRIEF%"=="" ECHO - cleanup output |
173 |
::%OSDKB%\tr < %OSDKT%\%1.s > %OSDKT%\%1 |
::%OSDKB%\tr < %OSDKT%\%1.s > %OSDKT%\%1 |