summaryrefslogtreecommitdiff
path: root/src/tools/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-26 19:59:26 +0200
committerraveit65 <[email protected]>2019-10-01 14:14:44 +0200
commit54f10719ae236f67db8505a0217c190bac32c13b (patch)
tree16c7f25f01ce1238b97ab9014943a035b1bbeb69 /src/tools/Makefile.am
parent744f9ff68b10b168bcceb20e550ac0b8239e7fea (diff)
downloadmarco-54f10719ae236f67db8505a0217c190bac32c13b.tar.bz2
marco-54f10719ae236f67db8505a0217c190bac32c13b.tar.xz
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
Diffstat (limited to 'src/tools/Makefile.am')
-rw-r--r--src/tools/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index 0a1da4b6..d88f571f 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -1,9 +1,12 @@
icondir=$(pkgdatadir)/icons
icon_DATA=marco-window-demo.png
-AM_CPPFLAGS=@MARCO_WINDOW_DEMO_CFLAGS@ @MARCO_MESSAGE_CFLAGS@ \
+AM_CPPFLAGS = \
+ @MARCO_WINDOW_DEMO_CFLAGS@ \
+ @MARCO_MESSAGE_CFLAGS@ \
-DMARCO_ICON_DIR=\"$(pkgdatadir)/icons\" \
- -DMARCO_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\"
+ -DMARCO_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" \
+ $(WARN_CFLAGS)
marco_message_SOURCES= \
marco-message.c