summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Examples/EchoBot/Makefile.inc')
-rw-r--r--Swiften/Examples/EchoBot/Makefile.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/Swiften/Examples/EchoBot/Makefile.inc b/Swiften/Examples/EchoBot/Makefile.inc
new file mode 100644
index 0000000..b126b15
--- /dev/null
+++ b/Swiften/Examples/EchoBot/Makefile.inc
@@ -0,0 +1,13 @@
+ECHOBOT_TARGET = Swiften/Examples/EchoBot/EchoBot
+ECHOBOT_SOURCES += \
+ Swiften/Examples/EchoBot/EchoBot.cpp
+ECHOBOT_OBJECTS = \
+ $(ECHOBOT_SOURCES:.cpp=.o)
+
+CLEANFILES += $(ECHOBOT_OBJECTS) $(ECHOBOT_TARGET)
+EXAMPLES_TARGETS += $(ECHOBOT_TARGET)
+
+EchoBot: $(ECHOBOT_TARGET)
+
+$(ECHOBOT_TARGET): $(SWIFTEN_TARGET) $(ECHOBOT_OBJECTS)
+ $(QUIET_LINK)$(CXX) -o $(ECHOBOT_TARGET) $(ECHOBOT_OBJECTS) $(LDFLAGS) $(CPPCLIENT_LDFLAGS) $(SWIFTEN_TARGET) $(LIBS)