forked from Telodendria/Telodendria
Clean up output a little
This commit is contained in:
parent
dce9788adf
commit
fb56c3fca6
1 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ recipe_build() {
|
||||||
objs="$objs $obj"
|
objs="$objs $obj"
|
||||||
|
|
||||||
if [ $(mod_time "$src") -ge $(mod_time "$obj") ]; then
|
if [ $(mod_time "$src") -ge $(mod_time "$obj") ]; then
|
||||||
echo "CC $obj"
|
echo "CC $(basename $obj)"
|
||||||
obj_dir=$(dirname "$obj")
|
obj_dir=$(dirname "$obj")
|
||||||
mkdir -p "$obj_dir"
|
mkdir -p "$obj_dir"
|
||||||
if ! $CC $CFLAGS -c -o "$obj" "$src"; then
|
if ! $CC $CFLAGS -c -o "$obj" "$src"; then
|
||||||
|
@ -86,7 +86,7 @@ recipe_build() {
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $do_rebuild -eq 1 ] || [ ! -f "build/$PROG" ]; then
|
if [ $do_rebuild -eq 1 ] || [ ! -f "build/$PROG" ]; then
|
||||||
echo "LD build/$PROG"
|
echo "LD $PROG"
|
||||||
$CC $LDFLAGS -o "build/$PROG" $objs
|
$CC $LDFLAGS -o "build/$PROG" $objs
|
||||||
else
|
else
|
||||||
echo "Up to date."
|
echo "Up to date."
|
||||||
|
@ -104,7 +104,7 @@ recipe_run() {
|
||||||
# Remove all build files, which can be regenerated by re-running the
|
# Remove all build files, which can be regenerated by re-running the
|
||||||
# build recipe.
|
# build recipe.
|
||||||
recipe_clean() {
|
recipe_clean() {
|
||||||
rm -rv build
|
rm -r build
|
||||||
}
|
}
|
||||||
|
|
||||||
# Format the source code by updating the copyright headers and
|
# Format the source code by updating the copyright headers and
|
||||||
|
|
Loading…
Reference in a new issue