diff options
Diffstat (limited to 'protocols/msn/Makefile')
-rw-r--r-- | protocols/msn/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/protocols/msn/Makefile b/protocols/msn/Makefile new file mode 100644 index 00000000..8845d41b --- /dev/null +++ b/protocols/msn/Makefile @@ -0,0 +1,46 @@ +########################### +## 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 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 + rm -rf .depend + +### 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 + +-include .depend/*.d |