mirror of
https://gitlab.com/mfocko/Codeforces.git
synced 2024-12-21 18:41:22 +01:00
chore: support more than one target
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
e5541dc8ad
commit
edfa2fe026
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
CXX=clang++
|
||||
CXXFLAGS=-std=c++20 -Wall -Wextra
|
||||
|
||||
main: format main.cpp
|
||||
$(CXX) $(CXXFLAGS) -g main.cpp -o main
|
||||
%: format %.cpp
|
||||
$(CXX) $(CXXFLAGS) -g $^ -o $@
|
||||
|
||||
format:
|
||||
clang-format -i -style=google main.cpp
|
||||
clang-format -i -style=google *.cpp
|
||||
|
|
Loading…
Reference in a new issue