diff --git a/.gitignore b/.gitignore index 7e915b1..0cdc946 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,5 @@ debian/debhelper-build-stamp /libnss_cache.so /*.c.gcov /build/ +*.gcda +*.gcno diff --git a/Makefile b/Makefile index 2325186..a144788 100644 --- a/Makefile +++ b/Makefile @@ -20,13 +20,10 @@ INDEX_DATA_TOUCH = $(TESTDATA)/.touch.index_data .PHONY: all all: $(LIBRARY) -.PHONY: test -test: test_getent time_lookups - -.PHONY: check -check: CFLAGS += -O0 -g --coverage -check: LDFLAGS += --coverage -check: test_getent time_lookups +.PHONY: test check +test check: CFLAGS += -O0 -g --coverage +test check: LDFLAGS += --coverage +test check: test_getent time_lookups lookup: lookup.o $(LIBNSSCACHE)