1 # common makefile settings for secnet
3 # This file is part of secnet.
4 # See README for full list of copyright holders.
6 # secnet is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # secnet is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # version 3 along with secnet; if not, see
18 # https://www.gnu.org/licenses/gpl.html.
28 CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -Werror \
29 -W -Wno-unused -Wno-unused-parameter \
30 -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \
31 -Wmissing-declarations -Wnested-externs -Wredundant-decls \
32 -Wpointer-arith -Wformat=2 -Winit-self \
33 -Wswitch-enum -Wunused-variable -Wunused-function -Wbad-function-cast \
34 -Wno-strict-aliasing -fno-strict-aliasing \