-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompile.bat
More file actions
27 lines (19 loc) · 736 Bytes
/
compile.bat
File metadata and controls
27 lines (19 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
set "mainPath=J:\TRABAJO\DESARROLLO\CODIGO\BennuGD\BeatTendency\"
set "bennuPath=C:\BennuGD_Dreamcast\bin\"
echo %mainPath%
::set "mainFile=main"
::set "extension=.prg"
::if exist %mainPath%*.dcb del %mainPath%*.dcb
::if exist %bennuPath%stderr.txt del %bennuPath%stderr.txt
::if exist %bennuPath%stdout.txt del %bennuPath%stdout.txt
::pushd %mainPath%
::%~dp0\bgdc.exe %1
::%bennuPath%bgdc.exe %mainPath%%mainFile%%extension%
::if exist %bennuPath%stdout.txt del %bennuPath%stdout.txt
::if exist %bennuPath%stderr.txt del %bennuPath%stderr.txt
::if exist %bennuPath%stderr.txt goto salida
::%bennuPath%bgdi.exe %mainPath%%mainFile%
::if exist %mainPath%stderr.txt type %mainPath%stderr.txt
:::salida
::pause