291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
|
else
obj="$builddir${i%.mm}.o"
fi
;;
esac
objs="$objs $obj"
build="no"
deps=$($OBJC -E -M $CPPFLAGS $OBJCFLAGS $i |
sed 's/.*: //' | sed 's/\\//g')
if test -f "$obj"; then
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
mkdir -p "$(dirname $obj)" || status_compile_failed $i $?
$OBJC $CPPFLAGS $OBJCFLAGS -c -o $obj $i || \
|
>
>
>
>
|
|
<
<
<
<
|
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
|
else
obj="$builddir${i%.mm}.o"
fi
;;
esac
objs="$objs $obj"
build="no"
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
fi
if test x"$build" = x"yes"; then
link="yes"
status_compiling $i
mkdir -p "$(dirname $obj)" || status_compile_failed $i $?
$OBJC $CPPFLAGS $OBJCFLAGS -c -o $obj $i || \
|