add windows build script (make.bat)

This commit is contained in:
Jörg Deckert 2014-05-07 16:14:34 +02:00
parent 1dee12caf5
commit 200fdee5d6
2 changed files with 73 additions and 0 deletions

5
.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
# Auto detect text files and perform LF normalization
* text=auto
*.bat text eol=crlf

68
make.bat Normal file
View File

@ -0,0 +1,68 @@
echo on
date /T
time /T
REM # Definitionen
REM set D="-D __DEBUG -D __LANG_EN"
REM set D="-D __LANG_EN"
set D="-D __LANG_DE"
REM # Pfade
set bin="..\Bin"
REM set bin="\home\ftp\hive"
set sdplex="%bin%\sdcard\plexus"
set sdsys="%bin%\sdcard\system"
set libpath="..\TriOS\lib"
set BSTC=bstc.exe
REM ----------------------------------------------------------------
REM Alte Versionen löschen
rmdir %sdplex% /S /Q
REM del %sdsys%\xxxx
mkdir %sdplex%
REM mkdir %sdsys%
REM ----------------------------------------------------------------
REM Code für Administra, Bellatrix und Regime erzeugen
%BSTC% -L %libpath% %D% -D __ADM_FAT -D __ADM_FAT_EXT -D __ADM_RTC -D __ADM_SID -D __ADM_PLX -D __ADM_DCF -D __ADM_BLT -b -O a ..\TriOS\flash\administra\admflash.spin
move admflash.binary %sdplex%\plexus.adm
%BSTC% -L %libpath% %D% -b -O a source\Plexus-Start-Trios.spin
move Plexus-Start-Trios.binary %sdplex%\plexus.bin
%BSTC% -L %libpath% %D% -b -O a source\belsVGA64.spin
move belsVGA64.binary %sdplex%\plexus.bel
REM ----------------------------------------------------------------
REM Plexus-Programme erzeugen
%BSTC% -L %libpath% %D% -b -O a source\Plexus-Shell.spin
move Plexus-Shell.binary %sdplex%\plexus.dll
%BSTC% -L %libpath% %D% -b -O a source\Bluetooth.spin
move Bluetooth.binary %sdplex%\Bltooth.dll
%BSTC% -L %libpath% %D% -b -O a source\Venatrix.spin
move Venatrix.binary %sdplex%\Venatrix.dll
%BSTC% -L %libpath% %D% -b -O a source\YMODEM-Dll.spin
move YMODEM-Dll.binary %sdplex%\YMODEM.dll
%BSTC% -L %libpath% %D% -b -O a source\DCF-Test.spin
move DCF-Test.binary %sdplex%\dcf.dll
%BSTC% -L %libpath% %D% -b -O a source\dos-shell.spin
move dos-shell.binary %sdplex%\dos.dll
%BSTC% -L %libpath% %D% -b -O a source\sepia-test.spin
move sepia-test.binary %sdplex%\sepia.dll
REM ----------------------------------------------------------------
REM Daten kopieren
xcopy .\data\*.* %sdplex% /S /E
echo off