mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
aaa1970a06
- implicit recipes - wildcard glob of C++ files in directory
15 lines
220 B
Makefile
15 lines
220 B
Makefile
|
|
EXEC=CatchSelfTest
|
|
SOURCES = $(wildcard *.cpp)
|
|
OBJECTS = $(SOURCES:.cpp=.o)
|
|
|
|
CXX = g++
|
|
CXXFLAGS = -I../../include -I../../include/internal
|
|
|
|
$(EXEC): $(OBJECTS)
|
|
$(CXX) -o $@ $^
|
|
|
|
clean:
|
|
$(RM) $(OBJECTS)
|
|
$(RM) $(EXEC)
|