Version 0.1.0
[sipe-libnice.git] / common.mk
blob1382422d56801d84f8d34908ddce0452a7b4bf60
2 ERROR_CFLAGS = \
3 $(LIBNICE_CFLAGS) \
4 -fno-strict-aliasing \
5 -Wextra \
6 -Wundef \
7 -Wnested-externs \
8 -Wwrite-strings \
9 -Wpointer-arith \
10 -Wbad-function-cast \
11 -Wmissing-declarations \
12 -Wmissing-prototypes \
13 -Wstrict-prototypes \
14 -Wredundant-decls \
15 -Wno-unused-parameter \
16 -Wno-missing-field-initializers
17 # -Wold-style-definition -Winline -Wunreachable-code
19 CLEANFILES = *.gcno *.gcda
21 pkgincludedir = $(includedir)/nice
24 check-valgrind:
25 $(MAKE) TESTS_ENVIRONMENT="sh $$(cd "$(top_srcdir)" && pwd)/scripts/valgrind.sh" check
27 .PHONY: check-valgrind