feat(codeforces/995): a-e
This commit is contained in:
parent
e0a8333591
commit
970b302ab8
23 changed files with 821 additions and 0 deletions
28
codeforces/995/makefile
Normal file
28
codeforces/995/makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.PHONY: run debug clean setup init
|
||||
|
||||
SRC = $(word 2,$(MAKECMDGOALS))
|
||||
|
||||
.SILENT:
|
||||
|
||||
run:
|
||||
sh scripts/run.sh $(SRC)
|
||||
|
||||
debug:
|
||||
sh scripts/debug.sh $(SRC)
|
||||
|
||||
clean:
|
||||
rm -rf build/*
|
||||
|
||||
setup:
|
||||
test -d build || mkdir -p build
|
||||
test -d io || mkdir -p io
|
||||
test -d scripts || mkdir -p scripts
|
||||
test -f compile_flags.txt || cp $(HOME)/.config/cp-template/compile_flags.txt .
|
||||
test -f .clangd || cp $(HOME)/.config/cp-template/.clangd .
|
||||
test -f .clang-format || cp $(HOME)/.config/cp-template/.clang-format .
|
||||
|
||||
init:
|
||||
make setup
|
||||
|
||||
%:
|
||||
@:
|
||||
Loading…
Add table
Add a link
Reference in a new issue