refactor: keep Claro in one strict C89 source file
This commit is contained in:
@@ -3,8 +3,8 @@ param(
|
||||
[string]$Out = "claro.exe"
|
||||
)
|
||||
|
||||
Write-Host "Building Claro v1.18.26..." -ForegroundColor Cyan
|
||||
& $CC "-std=c99" "src\claro.c" "-O0" "-o" $Out "-lm"
|
||||
Write-Host "Building Claro (C89)..." -ForegroundColor Cyan
|
||||
& $CC "-std=c89" "-pedantic-errors" "-Werror=implicit-function-declaration" "src\claro.c" "-O0" "-o" $Out "-lm"
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
|
||||
Write-Host "Built: $Out" -ForegroundColor Green
|
||||
|
||||
Reference in New Issue
Block a user