Last change
on this file since 66b9e86e was
66b9e86e,
checked in by Jelmer Vernooij <jelmer@…>, at 2006-07-07T13:33:31Z
|
Add support for checking test suite coverage using gcov.
|
-
Property mode set to
100644
|
File size:
531 bytes
|
Rev | Line | |
---|
[c2fa827] | 1 | include ../Makefile.settings |
---|
| 2 | |
---|
| 3 | LFLAGS +=-lcheck |
---|
| 4 | |
---|
[66b9e86e] | 5 | all: check |
---|
[c2fa827] | 6 | ./check |
---|
| 7 | |
---|
[66b9e86e] | 8 | clean: |
---|
| 9 | rm -f check *.o |
---|
| 10 | |
---|
[1fc2958] | 11 | main_objs = 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 url.o user.o util.o |
---|
| 12 | |
---|
[66b9e86e] | 13 | test_objs = check.o check_util.o check_nick.o |
---|
| 14 | |
---|
| 15 | check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o |
---|
[c2fa827] | 16 | @echo '*' Linking $@ |
---|
| 17 | @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) |
---|
| 18 | |
---|
| 19 | %.o: %.c |
---|
| 20 | @echo '*' Compiling $< |
---|
| 21 | @$(CC) -c $(CFLAGS) $< -o $@ |
---|
Note: See
TracBrowser
for help on using the repository browser.