blob: 9b45b5fee74f312c96be70665540979109c54da1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if type "clang" > /dev/null; then
PREF="clang"
else
PREF="gcc"
fi
CC=${CC-$PREF}
CFLAGS="-g -Wall -Wextra -std=c99 -pedantic -Wno-gnu-statement-expression $CFLAGS"
LDFLAGS="$LDFLAGS"
if [ ! -n "$SH_BUILD" ]; then
if [ -f "../config.local" ]; then
redo-ifchange ../config.local
. ../config.local
else
redo-ifcreate ../config.local
fi
fi
|