Clean up output a little

This commit is contained in:
Jordan Bancino 2022-11-22 23:57:58 +00:00
parent dce9788adf
commit fb56c3fca6
1 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ recipe_build() {
objs="$objs $obj"
if [ $(mod_time "$src") -ge $(mod_time "$obj") ]; then
echo "CC $obj"
echo "CC $(basename $obj)"
obj_dir=$(dirname "$obj")
mkdir -p "$obj_dir"
if ! $CC $CFLAGS -c -o "$obj" "$src"; then
@ -86,7 +86,7 @@ recipe_build() {
done
if [ $do_rebuild -eq 1 ] || [ ! -f "build/$PROG" ]; then
echo "LD build/$PROG"
echo "LD $PROG"
$CC $LDFLAGS -o "build/$PROG" $objs
else
echo "Up to date."
@ -104,7 +104,7 @@ recipe_run() {
# Remove all build files, which can be regenerated by re-running the
# build recipe.
recipe_clean() {
rm -rv build
rm -r build
}
# Format the source code by updating the copyright headers and