mirror of
https://gitlab.com/mfocko/Codeforces.git
synced 2024-11-09 21:59:06 +01:00
13 lines
338 B
Makefile
13 lines
338 B
Makefile
CXX=clang++
|
|
CXXFLAGS=-std=c++20 -Wall -Wextra
|
|
|
|
COMMON_PATH=../.common/cpp
|
|
|
|
catch2.o: $(COMMON_PATH)/catch_amalgamated.cpp $(COMMON_PATH)/catch_amalgamated.hpp
|
|
$(CXX) $(CXXFLAGS) -g -c $(COMMON_PATH)/catch_amalgamated.cpp -o catch2.o
|
|
|
|
%: catch2.o %.cpp
|
|
$(CXX) $(CXXFLAGS) -DTEST -g $^ -o $@
|
|
|
|
format:
|
|
clang-format -i -style=google *.cpp
|