From 253169056aadb92e7ad4b86b92282e7bcb3a25dd Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 3 Feb 2006 15:23:28 +0000 Subject: Added gcov-report build target and fixed bug in string test under gcov git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@136 74dad513-b988-da41-8d7b-12977e46ad98 --- build/rules.mak | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build') diff --git a/build/rules.mak b/build/rules.mak index 351a1680..2076a9bd 100644 --- a/build/rules.mak +++ b/build/rules.mak @@ -137,6 +137,11 @@ ifeq ($(OS_NAME),linux-kernel) rm -f ../lib/$(app).o endif +gcov-report: + for file in $(FULL_SRCS); do \ + gcov $$file -n -o $(OBJDIR); \ + done + realclean: clean $(subst @@,$(subst /,$(HOST_PSEP),$(LIB)) $(subst /,$(HOST_PSEP),$(EXE)),$(HOST_RM)) $(subst @@,$(DEP_FILE),$(HOST_RM)) -- cgit v1.2.3