return $res
}
+cache=true
+if ccache -V 2>/dev/null >/dev/null; then
+ cache=ccache
+fi
+
stop=false
verbose=false
vverbose=false
OPTS="$OPTS -DWITH_LIBGC -lgc"
fi
+if [ $cache = "ccache" ]; then
+ CC="ccache $CC"
+fi
+
for i in "$@"; do
j=`basename "$i" .c`
transformed=`echo "$i" | sed "
"`
found="false"
+ if [ $cache != true ]; then
+ o="$dir$j.o"
+ if [ $vverbose = true ] ; then
+ echo "* $CC $OPTS -c $i -o $o" >&2
+ fi
+ $CC $OPTS -c $i -o $o || exit 1
+ else
# We remove starting # to be path independent (after preprocess, there are the only # remainings)
cksum=`gcc -E $OPTS $i 2> /dev/null | grep -v "^#" | $CKSUM`
for e in $ext; do
exit 1
fi
fi
+fi
objs="$objs $o"
done