aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index ce8ed690..206331f4 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -2,12 +2,17 @@ include ../Makefile.settings
LFLAGS +=-lcheck
-all: check
+all: check
./check
+clean:
+ rm -f check *.o
+
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
-check: check.o check_util.o check_nick.o $(addprefix ../, $(main_objs)) ../protocols/protocols.o
+test_objs = check.o check_util.o check_nick.o
+
+check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o
@echo '*' Linking $@
@$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)