summaryrefslogtreecommitdiffstats
blob: 08a9b5b2c8672de8d91e609a7b2929a0f2d284aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)

$(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)