CLIENTTEST_TARGET = Swiften/QA/ClientTest/ClientTest
CLIENTTEST_SOURCES += \
	Swiften/QA/ClientTest/ClientTest.cpp
CLIENTTEST_OBJECTS = \
	$(CLIENTTEST_SOURCES:.cpp=.o)

TEST_TARGETS += ClientTest

CLEANFILES += $(CLIENTTEST_OBJECTS) $(CLIENTTEST_TARGET)
DEPS += $(CLIENTTEST_SOURCES:.cpp=.dep)

$(CLIENTTEST_TARGET): $(SWIFTEN_TARGET) $(CLIENTTEST_OBJECTS) $(BUNDLED_LIBS)
	$(QUIET_LINK)$(CXX) -o $(CLIENTTEST_TARGET) $(CLIENTTEST_OBJECTS) $(LDFLAGS) $(CPPCLIENT_LDFLAGS) $(SWIFTEN_TARGET) $(BUNDLED_LIBS) $(LIBS)

.PHONY: ClientTest
ClientTest: $(CLIENTTEST_TARGET)
	$(TEST_RUNNER) $(CLIENTTEST_TARGET)