3 if command -v gcc
> /dev
/null
; then
5 elif command -v clang
> /dev
/null
; then
7 elif command -v cc
> /dev
/null
; then
10 echo "Could not guess name of compiler, please set CC" >&2
19 if [ "${CFLAGS+set}" != "set" ]; then
31 LIB
=libBlocksRuntime.a
33 if test -f $LIB; then rm $LIB; fi
34 "$CC" -c $CFLAGS -o $SRC/data.o
$SRC/data.c \
35 && "$CC" -c $CFLAGS -o $SRC/runtime.o
-I .
$SRC/runtime.c \
36 && "$AR" cr
$LIB $SRC/data.o
$SRC/runtime.o \