improved makefile (make stats)

v5stable
Ondřej Hruška 11 years ago
parent 69b0a15be1
commit 7d9df297fc
  1. 5
      Makefile

@ -40,6 +40,11 @@ run: $(OUT)
debug: $(OUT)
java -jar $(OUT) -w .rogue-save --debug
stats:
@-echo "Commits:" `git rev-list HEAD --count`
@-echo "Files:" `find src -type f -print | wc -l`
@-echo "Lines:" `(find src -name '*.java' -print0 | xargs -0 cat ) | wc -l`
deploy: $(OUT)
cp -f $(OUT) /home/ondra/Dropbox/Public/Rogue

Loading…
Cancel
Save