diff --git a/Makefile b/Makefile index a75b776..4704169 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,8 @@ rsin_parser.lex.cc: rsin_parser.ll flex rsin_parser.ll mv lex.yy.c rsin_parser.lex.cc +style: + astyle --max-code-length=78 --break-closing-brackets --convert-tabs --add-brackets --max-instatement-indent=40 -s2 -C -xG -S -f -p -H -k1 -c --style=kr --align-pointer=name *.cc *.hh + +commit: style + git commit -a