echo "CPPLAGS= $CPPLAGS" >>$CONFIG_MK
fi
-if [ "$DEBUG" != no -a "$DEBUG" != false ]; then
- echo "Enabling memory debugging"
- echo "CPPFLAGS+= -DDEBUG_MEMORY" >>$CONFIG_MK
-elif [ -z "$DEBUG" -a -d .git ]; then
+if [ -z "$DEBUG" -a -d .git ]; then
printf "Found git ... "
DEBUG=yes
+elif [ "$DEBUG" != no -a "$DEBUG" != false ]; then
+ echo "Enabling memory debugging"
+ echo "CPPFLAGS+= -DDEBUG_MEMORY" >>$CONFIG_MK
else
DEBUG=no
fi