23 lines
487 B
Batchfile
23 lines
487 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0"
|
|
|
|
echo ===================================================
|
|
echo Compiling 2.5D Bunker Shooter (FASM x86_64)
|
|
echo ===================================================
|
|
|
|
set "INCLUDE=%~dp0tools\INCLUDE"
|
|
|
|
tools\fasm.exe src\main.asm game.exe
|
|
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo [ERROR] Build failed! Check compiler errors above.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo [SUCCESS] Build completed successfully: game.exe
|
|
echo Starting game...
|
|
start "" game.exe
|