]> git.cworth.org Git - scherzo/blobdiff - Makefile
Makefile: Add -Wmissing-declarations compiler option
[scherzo] / Makefile
index 08511cc8a05943bbf826e5ae08712f86d6fd3ba4..c1ee124f72f5060286c099bbb4674027b7d1efa3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ scherzo_srcs :=         \
 
 scherzo_modules = $(scherzo_srcs:.c=.o)
 
-WARN_CFLAGS = -Wall -Wextra
+CFLAGS ?= -g
+WARN_CFLAGS = -Wall -Wextra -Wmissing-declarations
 
 SCHERZO_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags) -I./mnemon `pkg-config --cflags gtk+-2.0 alsa`