diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-09 10:16:43 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-09 10:25:15 -0700 |
commit | d66a30794183e04f121fd1464d7bfcfbbcaf64ed (patch) | |
tree | 4538067d01873be7a589c159886b47ce0b6e1ce0 /Makefile.in | |
parent | 1bd2fa1b241d24dc444f17d217429780f0b657c0 (diff) | |
download | zlib-d66a30794183e04f121fd1464d7bfcfbbcaf64ed.tar.gz |
Add --cover option to ./configure for gcc coverage testing.
This adds the -fprofile-arcs and -ftest-coverage options when compiling
the source code for the static library. Those same options must then be
used when linking the static library into an executable. This updates
Makefile.in to remove and .gitignore to ignore the files generated when
testing coverage.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 1b8bf3f..9ac0406 100644 --- a/Makefile.in +++ b/Makefile.in @@ -232,6 +232,7 @@ clean: libz.* foo.gz so_locations \ _match.s maketree contrib/infback9/*.o rm -rf objs + rm -f *.gcda *.gcno *.gcov maintainer-clean: distclean distclean: clean zconf zconf.h.cmakein docs |