source: tests/Makefile @ 2e89256

Last change on this file since 2e89256 was de49316, checked in by Wilmer van der Gaast <wilmer@…>, at 2008-12-13T12:08:05Z

Killed the test for setting non-existing variables since I killed support
for them as well. Thanks to cedk@… for noticing (Bug #448).

Also including chat.o when building the tests to fix linking issues.

  • Property mode set to 100644
File size: 709 bytes
RevLine 
[dcf0f3e]1-include ../Makefile.settings
[c2fa827]2
3LFLAGS +=-lcheck
4
[66b9e86e]5all: check
[7bcdde3]6        ./check $(CHECKFLAGS)
[c2fa827]7
[66b9e86e]8clean:
9        rm -f check *.o
10
[dcf0f3e]11distclean: clean
12
[de49316]13main_objs = account.o bitlbee.o chat.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
[1fc2958]14
[3e6764a]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 check_jabber_sasl.o check_jabber_util.o
[66b9e86e]16
[2c7df62]17check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
[c2fa827]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.