2009-10-22 23:29:33 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# This script does for Linux the same as build.bat for DOS,
|
|
|
|
# it compiles the current KolibriOS applications
|
2010-09-14 05:54:21 +02:00
|
|
|
OutDir=bin
|
|
|
|
FileName=box_lib.obj
|
|
|
|
OutFile=$OutDir/$FileName
|
2009-10-22 23:29:33 +02:00
|
|
|
|
2010-09-14 05:54:21 +02:00
|
|
|
if [ -d "$OutDir" ]; then
|
|
|
|
if [ -e "$OutFile" ]; then
|
|
|
|
echo " >>>> rm -f $OutFile delete old version"
|
|
|
|
rm -f $OutFile
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
echo "mkdir $OutDir"
|
|
|
|
mkdir $OutDir
|
|
|
|
fi
|
|
|
|
fasm -m 16384 box_lib.asm $OutFile
|
2009-10-22 23:29:33 +02:00
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
|
|