aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 26a510e..467c469 100755
--- a/configure
+++ b/configure
@@ -11,7 +11,7 @@ objects=`find $srcdir -type f -name '*.c' | sed -e "s/$srcdir\/\(.*\).c/\1.o/"`
cc='cc'
cflags='-Wall -O2'
-cflagsdebug='-Wall -ggdb3 -O0 -DDEBUG'
+cflagsdebug='-std=c99 -Wall -pedantic -ggdb3 -O0 -DDEBUG'
prefix='/usr/local'
@@ -29,6 +29,10 @@ if [ ! `2>/dev/null which gcc` ]; then
dgen='clang'
fi
+if [ -f 'Makefile' ]; then
+ make clean
+fi
+
{
printf %s\\n '.POSIX:'
printf %s\\n '.SUFFIXES:'