diff options
author | rbuj <[email protected]> | 2019-09-28 11:34:14 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-10-01 09:54:59 +0200 |
commit | b155f9d6fed0d33da27bed707276d48482ac1e7c (patch) | |
tree | 3784566d983f8315ec5c0133217323bb29b086eb /src/Makefile.am | |
parent | 310ad6d6bc46115ac8eaa8c1b5e6e9e3f9eb6290 (diff) | |
download | mate-system-monitor-b155f9d6fed0d33da27bed707276d48482ac1e7c.tar.bz2 mate-system-monitor-b155f9d6fed0d33da27bed707276d48482ac1e7c.tar.xz |
Use MATE_COMPILE_WARNINGS and MATE_CXX_WARNINGS macros
- It adds WARN_CFLAGS to CFLAGS, and WARN_CXXLAGS to CXXFLAGS
- By default, --enable-cxx-warnings=yes --enable-compile-warnings=yes
- It prints the warning flags in configure summary
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 0518134..60a2aba 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -50,6 +50,12 @@ mate_system_monitor_SOURCES = \ $(mate_system_monitor_cpp_files) \ $(mate_system_monitor_c_files) +mate_system_monitor_CXXFLAGS = \ + $(WARN_CXXFLAGS) + +mate_system_monitor_CFLAGS = \ + $(WARN_CFLAGS) + mate_system_monitor_LDADD = @PROCMAN_LIBS@ @SYSTEMD_LIBS@ libbacon.la @@ -57,7 +63,8 @@ noinst_LTLIBRARIES = libbacon.la libbacon_la_SOURCES = \ bacon-message-connection.c \ bacon-message-connection.h - +libbacon_la_CFLAGS = \ + $(WARN_CFLAGS) specdir = $(datadir)/procman |