Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1617 → Rev 1618

/programs/develop/libraries/box_lib/trunk/build.sh
1,9 → 1,20
#!/bin/bash
# This script does for Linux the same as build.bat for DOS,
# it compiles the current KolibriOS applications
OutDir=bin
FileName=box_lib.obj
OutFile=$OutDir/$FileName
 
mkdir bin
fasm -m 16384 box_lib.asm ./bin/box_lib.obj
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
exit 0