summaryrefslogtreecommitdiffstats
blob: d01ccf89654a6fcf80ed09ff02cb99243f40ea46 (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)
	$(QUIET_LINK)$(CXX) -o $(CLIENTTEST_TARGET) $(CLIENTTEST_OBJECTS) $(LDFLAGS) $(CPPCLIENT_LDFLAGS) $(SWIFTEN_TARGET) $(LIBS)

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