diff options
author | katherine <shmibs@airen-no-jikken.icu> | 2019-05-26 18:23:25 -0700 |
---|---|---|
committer | katherine <shmibs@airen-no-jikken.icu> | 2019-05-26 18:23:25 -0700 |
commit | 79985ce2ecc8630a2c1ca48a8eef61e3a69c3fdd (patch) | |
tree | 72fed2ee0bc972a1ce57e2edfc2fc7a81c983c01 /configure | |
parent | 551a8b3623eb9d89d850fed7a75c776d64f0cd4f (diff) | |
download | confconf-79985ce2ecc8630a2c1ca48a8eef61e3a69c3fdd.tar.gz |
add -pedantic to debug build
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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:' |