Unify beginner syntax while preserving compatibility, repair ownership and parser guards, add verified distribution tooling and VC6 Windows 98 build inputs, and clarify documentation and release status. Preserve DOS build-input line endings and exclude generated binaries/caches.
13 lines
320 B
Batchfile
13 lines
320 B
Batchfile
@echo off
|
|
setlocal
|
|
set CC=gcc
|
|
if not "%~1"=="" set CC=%~1
|
|
echo Building Claro (C89)...
|
|
%CC% -std=c89 -pedantic-errors -Werror=implicit-function-declaration src\claro.c -O0 -o claro.exe -Wl,--stack,16777216 -lm
|
|
if errorlevel 1 (
|
|
echo Build failed.
|
|
exit /b 1
|
|
)
|
|
echo Built claro.exe
|
|
echo Run tests with: claro.exe test
|