blob: 9dd3df7cbd9771e8c4a1ba7a69d5c41534baa0c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
include ../Makefile.settings
LFLAGS +=-lcheck
all: check
./check $(CHECKFLAGS)
clean:
rm -f check *.o
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
test_objs = check.o check_util.o check_nick.o check_md5.o check_irc.o
check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
@echo '*' Linking $@
@$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS)
%.o: %.c
@echo '*' Compiling $<
@$(CC) -c $(CFLAGS) $< -o $@
|