9 CFLAGS
="-W -Wall -Wstrict-prototypes -pipe"
10 CFLAGS
="$CFLAGS -Wfloat-equal -Wundef -Wshadow -Wpointer-arith"
11 CFLAGS
="$CFLAGS -Wmissing-declarations -Wnested-externs"
12 CFLAGS
="$CFLAGS -Wmissing-prototypes"
13 CXXFLAGS
="-W -Wall -pipe -Wundef -Wshadow -Wpointer-arith -Wabi -std=c++0x"
18 --verbose verbose Makefiles
20 --no-debug disable debug
26 until [[ $# -eq 0 ]] ;
31 MAKEOPT
="$(echo $MAKEOPT | sed s,--quiet,,g)"
43 [[ $# -eq 1 ]] && { echo --build-dir requiers an argument
; exit 2; }
54 if [[ $DEBUG -eq 0 ]]; then
55 CFLAGS
="$CFLAGS -DNDEBUG"
56 CXXFLAGS
="$CXXFLAGS -DNDEBUG"
58 CFLAGS
="$CFLAGS -ggdb"
59 CXXFLAGS
="$CXXFLAGS -ggdb"
69 -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE \
70 -DCMAKE_COLOR_MAKEFILE=$COLOR \