aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/Makefile
diff options
context:
space:
mode:
authorGeert Mulders <g.c.w.m.mulders@gmail.com>2009-12-01 22:08:02 +0100
committerGeert Mulders <g.c.w.m.mulders@gmail.com>2009-12-01 22:08:02 +0100
commit1b221e0abd6453e3ca9cf45916ff6d16f94eff2b (patch)
treecb1a973bbfd7c4b72a5d12955b428eca6bac90a7 /protocols/twitter/Makefile
parent36cf9fda6a5cc4bcbfe98319b48af636fa142590 (diff)
Added twitter-module.
Diffstat (limited to 'protocols/twitter/Makefile')
-rw-r--r--protocols/twitter/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/protocols/twitter/Makefile b/protocols/twitter/Makefile
new file mode 100644
index 00000000..ca1e4695
--- /dev/null
+++ b/protocols/twitter/Makefile
@@ -0,0 +1,43 @@
+###########################
+## Makefile for BitlBee ##
+## ##
+## Copyright 2002 Lintux ##
+###########################
+
+### DEFINITIONS
+
+-include ../../Makefile.settings
+
+# [SH] Program variables
+objects = twitter.o twitter_http.o twitter_lib.o
+
+CFLAGS += -Wall
+LFLAGS += -r
+
+# [SH] Phony targets
+all: twitter_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: %.c
+ @echo '*' Compiling $<
+ @$(CC) -c $(CFLAGS) $< -o $@
+
+twitter_mod.o: $(objects)
+ @echo '*' Linking twitter_mod.o
+ @$(LD) $(LFLAGS) $(objects) -o twitter_mod.o
+
+