performance improvements + a good amount of changes
This commit is contained in:
parent
89a6d9a528
commit
0649a28a28
24 changed files with 2040744 additions and 70 deletions
25
src/Makefile
Normal file
25
src/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
.PHONY: format lint build build-release build-docker run debug
|
||||
|
||||
build:
|
||||
g++ main.cpp -g -o ./anthracite
|
||||
|
||||
build-release:
|
||||
g++ main.cpp -O3 -march=native -o ./anthracite
|
||||
|
||||
build-docker:
|
||||
docker build . -t anthracite
|
||||
|
||||
run: build
|
||||
./anthracite 8080
|
||||
|
||||
debug: build
|
||||
gdb --args ./anthracite 8080
|
||||
|
||||
format:
|
||||
clang-format *.cpp -i
|
||||
|
||||
lint:
|
||||
clang-tidy *.cpp
|
||||
|
||||
lint-fix:
|
||||
clang-tidy *.cpp -fix -fix-errors
|
Loading…
Add table
Add a link
Reference in a new issue