forked from lda/telodendria
I actually decided I don't like this.
This commit is contained in:
parent
71a0181a6a
commit
27c4713e5d
1 changed files with 2 additions and 10 deletions
|
@ -100,11 +100,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
|
||||||
if [ -t 1 ]; then
|
|
||||||
printf "CC %s%*c\r" "$(basename $obj)" "16" " "
|
|
||||||
else
|
|
||||||
echo "CC $(basename $obj)"
|
echo "CC $(basename $obj)"
|
||||||
fi
|
|
||||||
obj_dir=$(dirname "$obj")
|
obj_dir=$(dirname "$obj")
|
||||||
mkdir -p "$obj_dir"
|
mkdir -p "$obj_dir"
|
||||||
if ! $CC $CFLAGS -Iinclude -c -o "$obj" "$src"; then
|
if ! $CC $CFLAGS -Iinclude -c -o "$obj" "$src"; then
|
||||||
|
@ -115,11 +111,7 @@ recipe_build() {
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $do_rebuild -eq 1 ] || [ ! -f "../build/$PROG" ]; then
|
if [ $do_rebuild -eq 1 ] || [ ! -f "../build/$PROG" ]; then
|
||||||
if [ -t 1 ]; then
|
|
||||||
printf "LD %s%*c\n" "$PROG" "16" " "
|
|
||||||
else
|
|
||||||
echo "LD $PROG"
|
echo "LD $PROG"
|
||||||
fi
|
|
||||||
$CC $LDFLAGS -o "../build/$PROG" $objs
|
$CC $LDFLAGS -o "../build/$PROG" $objs
|
||||||
else
|
else
|
||||||
echo "Up to date."
|
echo "Up to date."
|
||||||
|
|
Loading…
Reference in a new issue