Subversion Repositories Kolibri OS

Rev

Rev 8793 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8687 turbocat 1
#!/bin/bash
2
set -e
3
 
4
AR=ar
5
FASM=fasm
6
 
7
set -e
8
 
9
cd $1
10
 
11
echo "Compile ASM files..."
12
 
13
rm -f *.o
14
cp __lib__.asm.bak __lib__.asm
15
 
16
for asm_file in $(find *.asm)
17
do
18
    $FASM $asm_file >> /dev/null
19
done
20
 
21
echo "Create libc.obj.a library..."
8803 turbocat 22
ar -rsc ../../bin/lib/libc.obj.a *.o
8687 turbocat 23
rm -f *.asm *.o
24
echo "Done!"