2021-01-10 15:49:37 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
IF %1.==. GOTO USAGE
|
2021-02-27 15:51:47 +01:00
|
|
|
rem removing extension ...
|
|
|
|
set BASENAME=%~n1
|
|
|
|
rem adding extension again ...
|
|
|
|
set SOURCEFILE=%BASENAME%.pb
|
2021-01-10 15:49:37 +01:00
|
|
|
|
2021-02-27 15:51:47 +01:00
|
|
|
pbcompiler /EXE %BASENAME%.exe /CONSOLE %SOURCEFILE%
|
2021-01-10 15:49:37 +01:00
|
|
|
GOTO END
|
|
|
|
|
|
|
|
:USAGE
|
|
|
|
echo "usage: %0 <PureBasic SOURCEFILE>"
|
|
|
|
|
|
|
|
:END
|
2021-03-13 18:53:25 +01:00
|
|
|
|