From 14a81655e4afc84b2df6f7ad9d31b2c39e05a424 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 6 Jul 2020 10:11:46 +0000 Subject: [PATCH] make: use -Wall -Werror by default But let env var CFLAG override --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0994a34..1811a33 100644 --- a/Makefile +++ b/Makefile @@ -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' \