source: tests/Makefile @ c227706

Last change on this file since c227706 was c227706, checked in by Jelmer Vernooij <jelmer@…>, at 2006-12-24T19:35:13Z

Refactor the help code to take a filename rather than using the global struct.

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