Last change
on this file since fb62f132 was
355e2ad,
checked in by dequis <dx@…>, at 2015-10-01T01:01:48Z
|
Move CAP commands to irc_cap.c; use enum for flags
|
-
Property mode set to
100644
|
File size:
861 bytes
|
Line | |
---|
1 | -include ../Makefile.settings |
---|
2 | ifdef _SRCDIR_ |
---|
3 | _SRCDIR_ := $(_SRCDIR_)tests/ |
---|
4 | endif |
---|
5 | |
---|
6 | CFLAGS += $(shell pkg-config --cflags check) |
---|
7 | LFLAGS += $(shell pkg-config --libs check) |
---|
8 | |
---|
9 | all: check |
---|
10 | ./check $(CHECKFLAGS) |
---|
11 | |
---|
12 | clean: |
---|
13 | rm -f check *.o |
---|
14 | |
---|
15 | distclean: clean |
---|
16 | |
---|
17 | main_objs = bitlbee.o conf.o dcc.o help.o ipc.o irc.o irc_cap.o irc_channel.o irc_commands.o irc_im.o irc_send.o irc_user.o irc_util.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_xml.o |
---|
18 | |
---|
19 | test_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_set.o check_jabber_sasl.o check_jabber_util.o |
---|
20 | |
---|
21 | check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o |
---|
22 | @echo '*' Linking $@ |
---|
23 | @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) |
---|
24 | |
---|
25 | %.o: $(_SRCDIR_)%.c |
---|
26 | @echo '*' Compiling $< |
---|
27 | @$(CC) -c $(CFLAGS) $< -o $@ |
---|
Note: See
TracBrowser
for help on using the repository browser.