2009-10-23 01:29:33 +04:00
|
|
|
#!/bin/bash
|
|
|
|
# This script does for Linux the same as build.bat for DOS,
|
|
|
|
# it compiles the current KolibriOS applications
|
2010-09-14 07:54:21 +04:00
|
|
|
OutDir=bin
|
|
|
|
FileName=box_lib.obj
|
|
|
|
OutFile=$OutDir/$FileName
|
2009-10-23 01:29:33 +04:00
|
|
|
|
2010-09-14 07:54:21 +04: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-23 01:29:33 +04:00
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
|
|