summaryrefslogtreecommitdiffstats
blob: 09c63d51a5cd3098b092bd9a6793ebb5ab8d6996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ECHOBOT_TARGET = Swiften/Examples/EchoBot/EchoBot
ECHOBOT_SOURCES += \
	Swiften/Examples/EchoBot/EchoBot.cpp
ECHOBOT_OBJECTS = \
	$(ECHOBOT_SOURCES:.cpp=.o)

CLEANFILES += $(ECHOBOT_OBJECTS) $(ECHOBOT_TARGET)
DEPS += $(ECHOBOT_SOURCES:.cpp=.dep)
EXAMPLES_TARGETS += $(ECHOBOT_TARGET)

EchoBot: $(ECHOBOT_TARGET)

$(ECHOBOT_TARGET): $(SWIFTEN_TARGET) $(ECHOBOT_OBJECTS)
	$(QUIET_LINK)$(CXX) -o $(ECHOBOT_TARGET) $(ECHOBOT_OBJECTS) $(LDFLAGS) $(SWIFTEN_TARGET) $(LIBS)