make: use -Wall -Werror by default

But let env var CFLAG override
This commit is contained in:
Natanael Copa 2020-07-06 10:11:46 +00:00
parent d984d89ced
commit 14a81655e4

View File

@ -32,6 +32,8 @@ SED := sed
TAR := tar
LINK = $(CC) $(OBJS-$@) -o $@ $(LDFLAGS) $(LDFLAGS-$@) $(LIBS-$@)
CFLAGS ?= -Wall -Werror
SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \
-e 's:@prefix@:$(prefix):g' \
-e 's:@sysconfdir@:$(sysconfdir):g' \