summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d7e549f..15b6b80 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
CFILES=xcwd.c
CC=gcc
-CFLAGS=-Wall -Werror -std=gnu99
+CFLAGS=-Wall -Werror -Wextra -pedantic -std=gnu99 -O2
LDFLAGS=-lX11
EXE="xcwd"
O=${CFILES:.c=.o}
prefix=/usr/
${EXE}: clean ${O}
- ${CC} -o $@ ${O} ${CFLAGS} ${LDFLAGS}
+ ${CC} -o $@ ${O} ${CFLAGS} ${LDFLAGS}
.SUFFIXES: .c .o
.c.o: