Permutation matrices research.
at master 29 lines 560 B view raw
1.POSIX: 2 3SRC := $(shell find src/ -type f -regex ".*\.cpp") 4CXX = ccache clang++ 5LIBS = -lm 6CXXWARNS = -pedantic -Werror -Weffc++ -Wno-padded -Ofast 7CXXFLAGS = -std=c++2c $(LIBS) $(CXXWARNS) -fopenmp 8 9build/a.out: $(SRC) 10 $(CXX) $(CXXFLAGS) -o $@ $^ 11 12run: build/a.out 13 ./build/a.out 14 15format: 16 clang-format -i $(shell find src/ -type f) 17 18.PHONY: clean build/a.out 19 20clean: 21 rm -f build/* 22 23check: 24 cppcheck . --check-level=exhaustive 25 clang-tidy $(shell find src/ -type f) -- -std=c++23 26 27test: $(SRC) 28 $(CXX) $(CXXFLAGS) -o ./build/a.out $^ -DTEST 29 ./build/a.out