aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/oscar/Makefile')
-rw-r--r--protocols/oscar/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/protocols/oscar/Makefile b/protocols/oscar/Makefile
new file mode 100644
index 00000000..acf4794a
--- /dev/null
+++ b/protocols/oscar/Makefile
@@ -0,0 +1,37 @@
+###########################
+## Makefile for BitlBee ##
+## ##
+## Copyright 2002 Lintux ##
+###########################
+
+### DEFINITIONS
+
+-include ../../Makefile.settings
+
+# [SH] Program variables
+objects = admin.o auth.o bos.o buddylist.o chat.o chatnav.o conn.o ft.o icq.o im.o info.o misc.o msgcookie.o rxhandlers.o rxqueue.o search.o service.o snac.o ssi.o stats.o tlv.o txqueue.o oscar_util.o oscar.o
+
+CFLAGS += -Wall
+LFLAGS += -r
+
+# [SH] Phony targets
+all: oscarr.o
+
+.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 $@
+
+oscarr.o: $(objects)
+ @echo '*' Linking oscarr.o
+ @$(LD) $(LFLAGS) $(objects) -o oscarr.o