forked from MirrorRepos/RomWBW
Browse Source
- Added a missing call to trackFile. - Corrected close functions in track.c to properly handle WIN32 variant.patch
12 changed files with 44 additions and 63 deletions
@ -1,21 +0,0 @@ |
|||
@echo off |
|||
setlocal |
|||
|
|||
:: |
|||
:: Edit WATCOM variable below as needed for your environment |
|||
:: |
|||
set WATCOM=..\..\Tools\WATCOM2 |
|||
|
|||
set PATH=%WATCOM%\BINNT;%WATCOM%\BINW;%PATH% |
|||
set EDPATH=%WATCOM%\EDDAT |
|||
set INCLUDE=%WATCOM%\H;%WATCOM%\H\NT |
|||
|
|||
copy config.h.windows config.h |
|||
|
|||
cl /Fe"zxcc.exe" zxcc.c cpmdrv.c cpmglob.c cpmparse.c cpmredir.c drdos.c util.c track.c xlt.c zxbdos.c zxcbdos.c zxdbdos.c z80.c |
|||
if errorlevel 1 exit /b 255 |
|||
|
|||
cl /Fe"zxccdbg.exe" /DDEBUG zxcc.c cpmdrv.c cpmglob.c cpmparse.c cpmredir.c drdos.c util.c track.c xlt.c zxbdos.c zxcbdos.c zxdbdos.c z80.c |
|||
if errorlevel 1 exit /b 255 |
|||
|
|||
copy cpm\bios.bin . |
|||
@ -1,25 +0,0 @@ |
|||
@echo off |
|||
setlocal |
|||
|
|||
:: |
|||
:: Visual Studio x86 Native Tools Command Prompt is assumed |
|||
:: |
|||
|
|||
:: Below configures VS2012 to target Windows XP. |
|||
:: Not sure if it will work in later versions of VS, but seems |
|||
:: to do no harm. |
|||
set INCLUDE=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Include;%INCLUDE% |
|||
set PATH=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Bin;%PATH% |
|||
set LIB=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Lib;%LIB% |
|||
set CL=/D_USING_V110_SDK71_;%CL% |
|||
set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK% |
|||
|
|||
copy config.h.windows config.h |
|||
|
|||
cl -I. zxcc.c cpmdrv.c cpmglob.c cpmparse.c cpmredir.c drdos.c util.c xlt.c zxbdos.c zxcbdos.c zxdbdos.c z80.c dirent.c track.c |
|||
if errorlevel 1 exit /b 255 |
|||
|
|||
cl -I. /DDEBUG /Fe"zxccdbg.exe" zxcc.c cpmdrv.c cpmglob.c cpmparse.c cpmredir.c drdos.c util.c xlt.c zxbdos.c zxcbdos.c zxdbdos.c z80.c dirent.c track.c |
|||
if errorlevel 1 exit /b 255 |
|||
|
|||
copy cpm\bios.bin . |
|||
@ -1,11 +0,0 @@ |
|||
@echo off |
|||
setlocal |
|||
|
|||
if exist *.exe del *.exe |
|||
if exist *.obj del *.obj |
|||
if exist *.err del *.err |
|||
if exist *.o del *.o |
|||
if exist *.bin del *.bin |
|||
if exist zxcc del zxcc |
|||
if exist zxccdbg del zxccdbg |
|||
if exist config.h del config.h |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue