aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/Makefile')
-rw-r--r--protocols/jabber/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/jabber/Makefile b/protocols/jabber/Makefile
index e7a505ba..912ea702 100644
--- a/protocols/jabber/Makefile
+++ b/protocols/jabber/Makefile
@@ -7,9 +7,12 @@
### DEFINITIONS
-include ../../Makefile.settings
+ifdef SRCDIR
+SRCDIR := $(SRCDIR)protocols/jabber/
+endif
# [SH] Program variables
-objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o sasl.o
+objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o s5bytestream.o sasl.o si.o
CFLAGS += -Wall
LFLAGS += -r
@@ -32,7 +35,7 @@ distclean: clean
$(objects): ../../Makefile.settings Makefile
-$(objects): %.o: %.c
+$(objects): %.o: $(SRCDIR)%.c
@echo '*' Compiling $<
@$(CC) -c $(CFLAGS) $< -o $@