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