summaryrefslogtreecommitdiffstats
blob: b9ab167eb96b11613c9412c1b1e7d2d993009256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CLIENTTEST_TARGET = Swiften/QA/ClientTest/ClientTest
CLIENTTEST_SOURCES += \
	Swiften/QA/ClientTest/ClientTest.cpp
CLIENTTEST_OBJECTS = \
	$(CLIENTTEST_SOURCES:.cpp=.o)

TEST_TARGETS += ClientTest

CLEANFILES += $(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)