mirror of
https://github.com/mfocko/blog.git
synced 2024-11-22 21:13:47 +01:00
16 lines
No EOL
296 B
Makefile
16 lines
No EOL
296 B
Makefile
CXX=clang++
|
|
CXXFLAGS=-std=c++20 -Wall -Wextra -Werror -g -pedantic
|
|
|
|
test: matrix-sort
|
|
./matrix-sort
|
|
|
|
matrix-sort: format tidy
|
|
$(CXX) $(CXXFLAGS) matrix-sort.cpp -o matrix-sort
|
|
|
|
format:
|
|
clang-format -i -style=webkit *.cpp
|
|
|
|
tidy:
|
|
clang-tidy *.cpp -- $(CXXFLAGS)
|
|
|
|
.PHONY: matrix-sort format tidy |