@ECHO OFF REM Build script for cnotes - Turbo C++ 3.0 on DOS/Win32 REM Run this if you don't have MAKE available REM REM Assumes TCC.EXE is in your PATH ECHO Building cnotes with Turbo C++ 3.0... ECHO. REM Create build directory if it doesn't exist IF NOT EXIST build MKDIR build ECHO Compiling cnadd.exe... TCC -A -w -ml -I.\include -ebuild\cnadd.exe src\cnadd.c IF ERRORLEVEL 1 GOTO ERROR ECHO Compiling cndump.exe... TCC -A -w -ml -I.\include -ebuild\cndump.exe src\cndump.c IF ERRORLEVEL 1 GOTO ERROR ECHO. ECHO Build successful! ECHO. DIR build\*.EXE GOTO END :ERROR ECHO. ECHO Build failed! GOTO END :END