aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile2
-rw-r--r--tests/Makefile4
-rw-r--r--tests/check_nick.c2
-rw-r--r--tests/check_util.c2
4 files changed, 6 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 6408c5ba..b1bddb3e 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -17,6 +17,8 @@ LFLAGS += -r
# [SH] Phony targets
all: lib.o
+check:
+
.PHONY: all clean distclean
clean: $(subdirs)
diff --git a/tests/Makefile b/tests/Makefile
index 206331f4..f0456063 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -8,11 +8,11 @@ all: 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
+main_objs = account.o bitlbee.o conf.o crypting.o help.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_xml.o storage_text.o user.o
test_objs = check.o check_util.o check_nick.o
-check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o
+check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
@echo '*' Linking $@
@$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)
diff --git a/tests/check_nick.c b/tests/check_nick.c
index b235d260..714c4fdc 100644
--- a/tests/check_nick.c
+++ b/tests/check_nick.c
@@ -5,7 +5,7 @@
#include <string.h>
#include "irc.h"
#include "set.h"
-#include "util.h"
+#include "misc.h"
START_TEST(test_nick_strip)
{
diff --git a/tests/check_util.c b/tests/check_util.c
index e771238f..ee365735 100644
--- a/tests/check_util.c
+++ b/tests/check_util.c
@@ -5,7 +5,7 @@
#include <string.h>
#include "irc.h"
#include "set.h"
-#include "util.h"
+#include "misc.h"
START_TEST(test_strip_linefeed)
{