From ea214684aeee170dc2a95cb1df751ef4bd0b82c4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 1 Oct 2019 22:37:49 +0200 Subject: Use WARN_CFLAGS which are only set with --enable-compiler-warnings It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum It updates configure summary. --- examples/Makefile.am | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/Makefile.am b/examples/Makefile.am index 5e6d7ac..1eea367 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,11 +1,18 @@ -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GLIB_CFLAGS) +NULL = + +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + $(GLIB_CFLAGS) \ + $(NULL) noinst_PROGRAMS = matemixer-monitor matemixer_monitor_SOURCES = monitor.c +matemixer_monitor_CFLAGS = \ + $(WARN_CFLAGS) \ + $(NULL) + matemixer_monitor_LDADD = \ $(GLIB_LIBS) \ $(top_builddir)/libmatemixer/libmatemixer.la -- cgit v1.2.1