@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 addnote.exe... TCC -A -w -ml -I.\include -ebuild\addnote.exe src\addnote.c IF ERRORLEVEL 1 GOTO ERROR ECHO Compiling dumpnotes.exe... TCC -A -w -ml -I.\include -ebuild\dumpnotes.exe src\dumpnotes.c IF ERRORLEVEL 1 GOTO ERROR ECHO. ECHO Build successful! ECHO. DIR build\*.EXE GOTO END :ERROR ECHO. ECHO Build failed! GOTO END :END