diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-25 14:17:39 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-25 14:17:39 +0200 |
commit | 125b35db3243f55489a6e88efbdeeefc2c24018d (patch) | |
tree | 1e24ec316678b6af288ed96d29e82bbba37f70bc /tests/Makefile | |
parent | 59f5c42a86fe73e95aaed0bfe455c7c816f39d2b (diff) | |
parent | 1fc2958b1e503b782081692c1a503bc7bba19fe1 (diff) |
Merging from Jelmer (this adds some basic unit testing code).
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 00000000..ce8ed690 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,16 @@ +include ../Makefile.settings + +LFLAGS +=-lcheck + +all: check + ./check + +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 + @echo '*' Linking $@ + @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) + +%.o: %.c + @echo '*' Compiling $< + @$(CC) -c $(CFLAGS) $< -o $@ |