blob: b9c7ed286ee970c2c6013892aadd734a6357e56e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
###########################
## Makefile for BitlBee ##
## ##
## Copyright 2002 Lintux ##
###########################
### DEFINITIONS
-include ../../Makefile.settings
ifdef SRCDIR
SRCDIR := $(SRCDIR)protocols/msn/
endif
# [SH] Program variables
objects = msn.o msn_util.o ns.o passport.o sb.o soap.o tables.o
LFLAGS += -r
# [SH] Phony targets
all: msn_mod.o
check: all
lcov: check
gcov:
gcov *.c
.PHONY: all clean distclean
clean:
rm -f *.o core
distclean: clean
### MAIN PROGRAM
$(objects): ../../Makefile.settings Makefile
$(objects): %.o: $(SRCDIR)%.c
@echo '*' Compiling $<
@$(CC) -c $(CFLAGS) $< -o $@
msn_mod.o: $(objects)
@echo '*' Linking msn_mod.o
@$(LD) $(LFLAGS) $(objects) -o msn_mod.o
|