diff options
Diffstat (limited to 'protocols/jabber/Makefile')
-rw-r--r-- | protocols/jabber/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/protocols/jabber/Makefile b/protocols/jabber/Makefile new file mode 100644 index 00000000..df326fe6 --- /dev/null +++ b/protocols/jabber/Makefile @@ -0,0 +1,37 @@ +########################### +## Makefile for BitlBee ## +## ## +## Copyright 2002 Lintux ## +########################### + +### DEFINITIONS + +-include ../../Makefile.settings + +# [SH] Program variables +objects = expat.o hashtable.o jid.o jpacket.o jutil.o log.o pool.o str.o xmlnode.o xmlparse.o xmlrole.o xmltok.o jabber.o + +CFLAGS += -Wall +LFLAGS += -r + +# [SH] Phony targets +all: jabberr.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 $@ + +jabberr.o: $(objects) + @echo '*' Linking jabberr.o + @$(LD) $(LFLAGS) $(objects) -o jabberr.o |