Add c++ snippet
This commit is contained in:
parent
4980268067
commit
2129f56cbb
1 changed files with 7 additions and 0 deletions
|
@ -8,3 +8,10 @@ $1.pdf: ${TEX}
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.aux *.log *.pdf
|
rm -rf *.aux *.log *.pdf
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet cpp
|
||||||
|
CXXFLAGS := -ggdb -std=c++20 -I.
|
||||||
|
|
||||||
|
$1: $1.cpp
|
||||||
|
$(CXX) $(CXXFLAGS) -o $@ $^
|
||||||
|
endsnippet
|
||||||
|
|
Loading…
Add table
Reference in a new issue