mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 11:38:01 +02:00
19 lines
346 B
Batchfile
19 lines
346 B
Batchfile
@echo off
|
|
rem
|
|
rem Batch file to compile and run NAME
|
|
rem
|
|
echo Compiling NAME...
|
|
ppc386 NAME >nul
|
|
if errorlevel 1 goto comfailed
|
|
echo compilation of NAME : PASSED
|
|
NAME >nul
|
|
if errorlevel 0 goto runpassed
|
|
echo execution of NAME : FAILED
|
|
goto end
|
|
:runpassed
|
|
echo execution of NAME : PASSED
|
|
goto end
|
|
:comfailed
|
|
echo Compilation of NAME : FAILED
|
|
:end
|