source: tests/Makefile @ 3f2bc2d

Last change on this file since 3f2bc2d was 2305488, checked in by Wilmer van der Gaast <wilmer@…>, at 2007-10-07T21:45:41Z

Adding test for arc.c so that I can now safely replace the RC4 code with a
(compatible) ArcFour implementation.

  • Property mode set to 100644
File size: 663 bytes
Line 
1-include ../Makefile.settings
2
3LFLAGS +=-lcheck
4
5all: check
6        ./check $(CHECKFLAGS)
7
8clean:
9        rm -f check *.o
10
11distclean: clean
12
13main_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
14
15test_objs = check.o check_util.o check_nick.o check_md5.o check_arc.o check_irc.o check_help.o check_user.o check_crypting.o check_set.o
16
17check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
18        @echo '*' Linking $@
19        @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)
20
21%.o: %.c
22        @echo '*' Compiling $<
23        @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracBrowser for help on using the repository browser.