mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
SelfTest: refresh makefile
This commit is contained in:
parent
341a9c4443
commit
000e746415
@ -1,15 +1,16 @@
|
|||||||
SOURCES = ApproxTests.cpp \
|
SOURCES = ApproxTests.cpp \
|
||||||
ClassTests.cpp \
|
ClassTests.cpp \
|
||||||
ConditionTests.cpp \
|
ConditionTests.cpp \
|
||||||
ExceptionTests.cpp \
|
ExceptionTests.cpp \
|
||||||
GeneratorTests.cpp \
|
GeneratorTests.cpp \
|
||||||
MessageTests.cpp \
|
MessageTests.cpp \
|
||||||
MiscTests.cpp \
|
MiscTests.cpp \
|
||||||
TestMain.cpp \
|
TestMain.cpp \
|
||||||
TrickyTests.cpp \
|
TrickyTests.cpp \
|
||||||
BDDTests.cpp \
|
BDDTests.cpp \
|
||||||
VariadicMacrosTests.cpp \
|
VariadicMacrosTests.cpp
|
||||||
catch_self_test.cpp
|
|
||||||
|
|
||||||
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
|
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
|
||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -I../../include
|
CXXFLAGS = -I../../include
|
||||||
@ -17,5 +18,9 @@ CXXFLAGS = -I../../include
|
|||||||
CatchSelfTest: $(OBJECTS)
|
CatchSelfTest: $(OBJECTS)
|
||||||
$(CXX) -o $@ $^
|
$(CXX) -o $@ $^
|
||||||
|
|
||||||
|
test: CatchSelfTest
|
||||||
|
./CatchSelfTest
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJECTS)
|
rm -f $(OBJECTS) CatchSelfTest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user