Index: utils/objfw-compile ================================================================== --- utils/objfw-compile +++ utils/objfw-compile @@ -293,19 +293,19 @@ fi ;; esac objs="$objs $obj" build="no" - deps=$($OBJC -E -M $CPPFLAGS $OBJCFLAGS $i | - sed 's/.*: //' | sed 's/\\//g') - if test -f "$obj"; then + if test ! -f "$obj" -o "$i" -nt "$obj"; then + build="yes" + else + deps=$($OBJC -E -M $CPPFLAGS $OBJCFLAGS $i | + sed 's/.*: //' | sed 's/\\//g') for dep in $deps; do test "$dep" -nt $obj && build="yes" done - else - build="yes" fi if test x"$build" = x"yes"; then link="yes" status_compiling $i