blob: 7f31da324a486cbcb5242127b8608eccd3a3a3d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
UNITTEST_TARGET = Swiften/QA/UnitTest/checker
UNITTEST_SOURCES += \
Swiften/QA/UnitTest/checker.cpp
UNITTEST_OBJECTS = \
$(UNITTEST_SOURCES:.cpp=.o)
TEST_TARGETS += check
CLEANFILES += $(UNITTEST_OBJECTS) $(UNITTEST_TARGET)
.PHONY: check
check: $(UNITTEST_TARGET)
$(TEST_RUNNER) ./$(UNITTEST_TARGET)
$(UNITTEST_TARGET): $(SWIFTEN_TARGET) $(CPPUNIT_TARGET) $(UNITTEST_OBJECTS) $(BUNDLED_LIBS)
$(QUIET_LINK)$(CXX) -o $(UNITTEST_TARGET) $(UNITTEST_OBJECTS) $(LDFLAGS) $(SWIFTEN_TARGET) $(CPPUNIT_TARGET) $(BUNDLED_LIBS) $(LIBS)
|