mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	SelfTest: refresh makefile
This commit is contained in:
		| @@ -1,15 +1,16 @@ | ||||
| SOURCES =	ApproxTests.cpp \ | ||||
| 			ClassTests.cpp \ | ||||
| 			ConditionTests.cpp \ | ||||
|       		ExceptionTests.cpp \ | ||||
|       		GeneratorTests.cpp \ | ||||
|       		MessageTests.cpp \ | ||||
|       		MiscTests.cpp \ | ||||
|       		TestMain.cpp \ | ||||
|       		TrickyTests.cpp \ | ||||
|       		BDDTests.cpp \ | ||||
|       		VariadicMacrosTests.cpp \ | ||||
|       		catch_self_test.cpp | ||||
| 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 | ||||
| @@ -17,5 +18,9 @@ CXXFLAGS  = -I../../include | ||||
| CatchSelfTest: $(OBJECTS) | ||||
| 	$(CXX) -o $@ $^ | ||||
|  | ||||
| test: CatchSelfTest | ||||
| 	./CatchSelfTest | ||||
|  | ||||
| clean: | ||||
| 	rm -f $(OBJECTS) | ||||
| 	rm -f $(OBJECTS) CatchSelfTest | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andy Sawyer
					Andy Sawyer