aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-12-11 00:41:09 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2011-12-11 00:41:16 +0200
commitf0b4c78f131ee4439ebb4cb7ab94b730324ea14b (patch)
tree542023a47b996322a5f022d91abc427afffa78af
parentc39514d9d22870775c15270569156b15da869a19 (diff)
optimize for size and add extra warnings
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b74a9fb..3dafeef 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
CPPFLAGS = -DVERSION=\"${VERSION}\"
-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+CFLAGS = -g -std=c99 -pedantic -Wall -Wextra -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -g ${LIBS}
#$(CC) $(LDFLAGS) -s -Os -o $@ $+ $(LDADD)