summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-11 13:53:48 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-11 13:53:48 +0100
commitf4b519ae12999d1200bf232986debb06b02ca444 (patch)
tree919409394c6e2cdfa1b94af22769e2db6b701e70 /Makefile
parentab5055557f26657893fd79959b80713e40a84610 (diff)
downloadecon-f4b519ae12999d1200bf232986debb06b02ca444.tar.gz
econ-f4b519ae12999d1200bf232986debb06b02ca444.tar.bz2
econ-f4b519ae12999d1200bf232986debb06b02ca444.zip
Add -Wextra and use gnu99
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 934f70a..14ba08d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-CFLAGS=-ggdb -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS=-std=gnu99 -ggdb -Wall -Wstrict-prototypes -Wmissing-prototypes -Wunused-result -Wextra -pedantic
all: econproxy econserv
%: %.c util.c util.h econproto.h
- gcc $(CFLAGS) -Wall -o $@ $< util.c
+ gcc $(CFLAGS) -o $@ $< util.c
clean:
rm -f econproxy econserv