From f4b519ae12999d1200bf232986debb06b02ca444 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 11 Mar 2013 13:53:48 +0100 Subject: Add -Wextra and use gnu99 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit