---
config.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk
index e676105..b019af1 100644
--- a/config.mk
+++ b/config.mk
@@ -19,9 +19,10 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`pkg-config --libs freetype2`
# flags
+WARN = -Wall -Wextra -Wpedantic
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
-STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
-STLDFLAGS = $(LIBS) $(LDFLAGS)
+STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS) $(WARN)
+STLDFLAGS = $(LIBS) $(LDFLAGS) $(WARN)
# OpenBSD:
#CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
--
2.20.1- [hackers] [st][PATCH 01/24] add gitignore Oliver Galvin
- [hackers] [st][PATCH 06/24] fix warnings from -Wimplici... Oliver Galvin
- [hackers] [st][PATCH 07/24] fix warning from -Wmaybe-un... Oliver Galvin
- [hackers] [st][PATCH 02/24] avoid unnecessarily checkin... Oliver Galvin
- [hackers] [st][PATCH 03/24] Reduce variable scope where... Oliver Galvin
- Re: [hackers] [st][PATCH 03/24] Reduce variable sc... David Phillips
- [hackers] [st][PATCH 22/24] fix memory leak - destroy p... Oliver Galvin
- [hackers] [st][PATCH 19/24] improve type and const corr... Oliver Galvin
- [hackers] [st][PATCH 21/24] avoid unnecessarily linking... Oliver Galvin
- Re: [hackers] [st][PATCH 21/24] avoid unnecessaril... Stephen Gregoratto
- [hackers] [st][PATCH 14/24] now st can build without er... Oliver Galvin
- Re: [hackers] [st][PATCH 14/24] now st can build w... Quentin Rameau
- [hackers] [st][PATCH 05/24] avoid warnings from -Wunuse... Oliver Galvin
- [hackers] [st][PATCH 10/24] fix -Wshadow warnings, due ... Oliver Galvin
- [hackers] [st][PATCH 23/24] stylistic stuff: Tidy up in... Oliver Galvin
- [hackers] [st][PATCH 09/24] avoid redundant declaration... Oliver Galvin
- [hackers] [st][PATCH 12/24] fix remaining cppcheck warn... Oliver Galvin
- [hackers] [st][PATCH 18/24] use compiler attribute to c... Oliver Galvin
- [hackers] [st][PATCH 11/24] rename variable to fix cppc... Oliver Galvin
- [hackers] [st][PATCH 20/24] use EXIT_FAILURE/SUCCESS on... Oliver Galvin
- Re: [hackers] [st][PATCH 20/24] use EXIT_FAILURE/S... Laslo Hunhold
