summaryrefslogtreecommitdiff
path: root/common.mk
blob: 1382422d56801d84f8d34908ddce0452a7b4bf60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

ERROR_CFLAGS = \
	$(LIBNICE_CFLAGS) \
	-fno-strict-aliasing \
	-Wextra \
	-Wundef \
	-Wnested-externs \
	-Wwrite-strings \
	-Wpointer-arith \
	-Wbad-function-cast \
	-Wmissing-declarations \
	-Wmissing-prototypes \
	-Wstrict-prototypes \
	-Wredundant-decls \
	-Wno-unused-parameter \
	-Wno-missing-field-initializers
# -Wold-style-definition -Winline -Wunreachable-code

CLEANFILES = *.gcno *.gcda

pkgincludedir = $(includedir)/nice


check-valgrind:
	$(MAKE) TESTS_ENVIRONMENT="sh $$(cd "$(top_srcdir)" && pwd)/scripts/valgrind.sh" check

.PHONY: check-valgrind