mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
27 lines
526 B
Makefile
27 lines
526 B
Makefile
SOURCES = ApproxTests.cpp \
|
|
ClassTests.cpp \
|
|
ConditionTests.cpp \
|
|
ExceptionTests.cpp \
|
|
GeneratorTests.cpp \
|
|
MessageTests.cpp \
|
|
MiscTests.cpp \
|
|
TestMain.cpp \
|
|
TrickyTests.cpp \
|
|
BDDTests.cpp \
|
|
VariadicMacrosTests.cpp
|
|
|
|
|
|
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
|
|
CXX = g++
|
|
CXXFLAGS = -I../../include
|
|
|
|
CatchSelfTest: $(OBJECTS)
|
|
$(CXX) -o $@ $^
|
|
|
|
test: CatchSelfTest
|
|
./CatchSelfTest
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) CatchSelfTest
|
|
|