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