diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2021-11-14 15:52:22 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-15 11:42:41 +0100 |
commit | 6056f33fd46e5964ff9fd82cb88de213b4174642 (patch) | |
tree | 1aee78f1dbe8dbb661466afd4509918a794d9480 /Make_global.am | |
parent | 820438083eb04abf8efc722fbbe0fdab7c88163d (diff) |
build: add Make_global.am for common flags
Move `${regular_CFLAGS}` from configure.ac to Make_global.am, renaming
it to `AM_CFLAGS`. Add `AM_CPPFGLAGS` to include
`$(top_srcdir)/include`. Include the new file in the Makefiles that
require it.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Make_global.am')
-rw-r--r-- | Make_global.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Make_global.am b/Make_global.am new file mode 100644 index 0000000..4ce896d --- /dev/null +++ b/Make_global.am @@ -0,0 +1,2 @@ +AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CFLAGS = -Wall -Wextra -Wno-unused-parameter |