Add stat target to Makefile.

This commit is contained in:
JPT committed 2014-11-08 17:43:56 +01:00
1 parent 0d90b387c3
commit cf3e6b93a5
2 files changed
+8 -1

No files matched your search

+4 -1
View File
@@ -1,4 +1,4 @@
.PHONY: clean run
.PHONY: clean run stat
game.jar: clean
mkdir -p compiled
@@ -13,3 +13,6 @@ run: game.jar
clean:
rm -rf compiled
rm -f game.jar
stat:
find . -type f -name '*.java' -print0 | xargs -0 wc -l