common.mk 565 Bytes
Newer Older
1

2
ERROR_CFLAGS = \
3
	$(LIBNICE_CFLAGS) \
4
	-fno-strict-aliasing \
5
	-Wextra \
Kai Vehmanen's avatar
Kai Vehmanen committed
6 7
	-Wundef \
	-Wnested-externs \
8
	-Wwrite-strings \
Kai Vehmanen's avatar
Kai Vehmanen committed
9 10 11
	-Wpointer-arith \
	-Wbad-function-cast \
	-Wmissing-declarations \
12
	-Wmissing-prototypes \
Kai Vehmanen's avatar
Kai Vehmanen committed
13
	-Wstrict-prototypes \
14
	-Wredundant-decls \
15 16
	-Wno-unused-parameter \
	-Wno-missing-field-initializers
Kai Vehmanen's avatar
Kai Vehmanen committed
17
# -Wold-style-definition -Winline -Wunreachable-code
18

19 20
CLEANFILES = *.gcno *.gcda

21 22 23
pkgincludedir = $(includedir)/nice


24
check-valgrind:
Kai Vehmanen's avatar
Kai Vehmanen committed
25
	$(MAKE) TESTS_ENVIRONMENT="sh $$(cd "$(top_srcdir)" && pwd)/scripts/valgrind.sh" check
26

Kai Vehmanen's avatar
Kai Vehmanen committed
27
.PHONY: check-valgrind