Rev 1227 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1227 | Rev 1618 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/bin/bash |
1 | #!/bin/bash |
2 | # This script does for Linux the same as build.bat for DOS, |
2 | # This script does for Linux the same as build.bat for DOS, |
3 | # it compiles the current KolibriOS applications |
3 | # it compiles the current KolibriOS applications |
- | 4 | OutDir=bin |
|
- | 5 | FileName=box_lib.obj |
|
- | 6 | OutFile=$OutDir/$FileName |
|
Line -... | Line 7... | ||
- | 7 | ||
- | 8 | if [ -d "$OutDir" ]; then |
|
- | 9 | if [ -e "$OutFile" ]; then |
|
- | 10 | echo " >>>> rm -f $OutFile delete old version" |
|
- | 11 | rm -f $OutFile |
|
- | 12 | fi |
|
- | 13 | else |
|
4 | 14 | echo "mkdir $OutDir" |
|
- | 15 | mkdir $OutDir |
|
5 | mkdir bin |
16 | fi |
6 | fasm -m 16384 box_lib.asm ./bin/box_lib.obj |
17 | fasm -m 16384 box_lib.asm $OutFile |