Changeset 66b9e86e for Makefile


Ignore:
Timestamp:
2006-07-07T13:33:31Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
f4aa393
Parents:
bf25fa3
Message:

Add support for checking test suite coverage using gcov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rbf25fa3 r66b9e86e  
    1212objects = account.o bitlbee.o conf.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_text.o unix.o url.o user.o util.o
    1313headers = account.h bitlbee.h commands.h conf.h config.h crypting.h help.h ini.h ipc.h irc.h log.h nick.h query.h set.h sock.h storage.h url.h user.h protocols/http_client.h protocols/md5.h protocols/nogaim.h protocols/proxy.h protocols/sha.h protocols/ssl_client.h
    14 subdirs = protocols
     14subdirs = protocols 
    1515
    1616# Expansion of variables
     
    4040clean: $(subdirs)
    4141        rm -f *.o $(OUTFILE) core utils/bitlbeed encode decode
     42        $(MAKE) -C tests clean
    4243
    4344distclean: clean $(subdirs)
    4445        rm -f Makefile.settings config.h
    4546        find . -name 'DEADJOE' -o -name '*.orig' -o -name '*.rej' -o -name '*~' -exec rm -f {} \;
     47        $(MAKE) -C test distclean
    4648
    47 check:
     49check: all
    4850        $(MAKE) -C tests
     51
     52gcov: check
     53        gcov *.c
    4954
    5055install-doc:
Note: See TracChangeset for help on using the changeset viewer.