mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-30 22:31:21 +00:00
23 lines
384 B
Plaintext
23 lines
384 B
Plaintext
git="git://git.2f30.org/smdev"
|
|
|
|
build: crossmusl
|
|
set -x
|
|
cd src/smdev
|
|
cp config.def.h config.h
|
|
for f in util/*.c; do
|
|
$CC -c $f -o "${f%%.c}.o" $CFLAGS
|
|
done
|
|
for f in util/*.o; do
|
|
ar -r -c util.a $f
|
|
done
|
|
ranlib util.a
|
|
for f in *.c; do
|
|
$CC -c $f $CFLAGS
|
|
done
|
|
for f in *.o; do
|
|
$CC -o "${f%.*}" $f util.a $LDFLAGS
|
|
done
|
|
for f in *.o; do
|
|
cp "${f%.*}" "$root/bin"
|
|
done
|