Line | |
---|
1 | include ../Makefile.settings |
---|
2 | |
---|
3 | LFLAGS +=-lcheck |
---|
4 | |
---|
5 | all: check |
---|
6 | ./check $(CHECKFLAGS) |
---|
7 | |
---|
8 | clean: |
---|
9 | rm -f check *.o |
---|
10 | |
---|
11 | 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 |
---|
12 | |
---|
13 | test_objs = check.o check_util.o check_nick.o check_md5.o check_irc.o check_help.o check_user.o check_crypting.o |
---|
14 | |
---|
15 | check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o |
---|
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.