You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
420 B
24 lines
420 B
#!/bin/bash
|
|
|
|
START_DIR=$PWD
|
|
LIBDAISY_DIR=$PWD/libs/libDaisy
|
|
DAISYSP_DIR=$PWD/libs/DaisySP
|
|
|
|
echo "building libDaisy . . ."
|
|
cd "$LIBDAISY_DIR" ; make -s clean ; make -j -s
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "Failed to compile libDaisy"
|
|
exit 1
|
|
fi
|
|
echo "done."
|
|
|
|
echo "building DaisySP . . ."
|
|
cd "$DAISYSP_DIR" ; make -s clean ; make -j -s
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "Failed to compile DaisySP"
|
|
exit 1
|
|
fi
|
|
echo "done."
|
|
|
|
|