summaryrefslogtreecommitdiff
path: root/coverity/Makefile
blob: e1cd8a399e4808c69c7c25e999b3e1640148afbc (plain)
1
2
3
4
5
6
7
8
9
.PHONY: check-gcc

# Part of csdiff package on Fedora
CSGREP ?= csgrep

CFLAGS ?= -Wall -Wno-uninitialized -Wno-unused-variable -Wno-unused-but-set-variable -Werror

check-gcc:
	gcc -o /dev/null -fPIC -shared -include ./coverity-builtins.h $(CFLAGS) *.c 2> >($(CSGREP))