Add -Werror to makefile

This commit is contained in:
Michael Fenn 2017-05-13 13:30:15 -04:00
parent 33c4a227d2
commit c20ad01270

View file

@ -3,7 +3,7 @@ VERSION = 1.1
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man
CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter CFLAGS += -O2 -Wall -Wextra -Werror -Wno-unused-parameter
LDLIBS = -lreadline LDLIBS = -lreadline
ifeq ($(shell pkg-config ncursesw && echo 1),1) ifeq ($(shell pkg-config ncursesw && echo 1),1)