aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
index 8beaf94..61d6469 100644
--- a/makefile
+++ b/makefile
@@ -38,6 +38,10 @@ depsdebian:
STYLE_BLUEPRINT="{BasedOnStyle: webkit, AllowShortIfStatementsOnASingleLine: true, IndentCaseLabels: true, AllowShortEnumsOnASingleLine: true}"
FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
+stats:
+ cat rosenrot.c | wc -l
+ gcc -fpreprocessed -dD -E -P rosenrot.c | wc -l
+
format: $(SRC)
$(FORMATTER) $(SRC)