Cleaned up build script output
This commit is contained in:
parent
8bea861d19
commit
7ffca4d1bc
|
@ -50,7 +50,7 @@ done
|
||||||
if [ "${OPTS[0]}" == "-h" ] || [ "${OPTS[0]}" == "--help" ]
|
if [ "${OPTS[0]}" == "-h" ] || [ "${OPTS[0]}" == "--help" ]
|
||||||
then
|
then
|
||||||
print_usage
|
print_usage
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
|
@ -333,9 +333,9 @@ fi
|
||||||
# Compile The Program
|
# Compile The Program
|
||||||
|
|
||||||
printf "\nBeginning Compilation...\n"
|
printf "\nBeginning Compilation...\n"
|
||||||
pushd $OUT_PATH
|
pushdir $OUT_PATH
|
||||||
|
|
||||||
find . -name "*" -delete
|
find . -name "*" -delete > /dev/null
|
||||||
|
|
||||||
if [[ -f ${HOOK_PREBUILD} ]]; then
|
if [[ -f ${HOOK_PREBUILD} ]]; then
|
||||||
source "${HOOK_PREBUILD}"
|
source "${HOOK_PREBUILD}"
|
||||||
|
@ -392,7 +392,7 @@ fi
|
||||||
LINKER_ARGS="-o ${LINKER_OUTPUT} ${COMPILER_OUTPUT[@]} ${LINKER_FLAGS[@]} ${LINKER_LIBRARIES[@]}"
|
LINKER_ARGS="-o ${LINKER_OUTPUT} ${COMPILER_OUTPUT[@]} ${LINKER_FLAGS[@]} ${LINKER_LIBRARIES[@]}"
|
||||||
|
|
||||||
printf "Linking...\n"
|
printf "Linking...\n"
|
||||||
echo $LINKER $LINKER_ARGS
|
# echo $LINKER $LINKER_ARGS
|
||||||
eval $LINKER $LINKER_ARGS
|
eval $LINKER $LINKER_ARGS
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
printf " Link: "
|
printf " Link: "
|
||||||
|
@ -408,4 +408,5 @@ fi
|
||||||
|
|
||||||
popdir
|
popdir
|
||||||
|
|
||||||
|
printf "\n"
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in New Issue