From 200fdee5d6526c2e057b4f3e540c40596c6a0456 Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Wed, 7 May 2014 16:14:34 +0200 Subject: [PATCH] add windows build script (make.bat) --- .gitattributes | 5 ++++ make.bat | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 .gitattributes create mode 100644 make.bat diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f128240 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Auto detect text files and perform LF normalization + +* text=auto + +*.bat text eol=crlf diff --git a/make.bat b/make.bat new file mode 100644 index 0000000..f8b0c6c --- /dev/null +++ b/make.bat @@ -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