Add stat target to Makefile.
This commit is contained in:
parent
0d90b387c3
commit
cf3e6b93a5
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: clean run
|
.PHONY: clean run stat
|
||||||
|
|
||||||
game.jar: clean
|
game.jar: clean
|
||||||
mkdir -p compiled
|
mkdir -p compiled
|
||||||
|
@ -13,3 +13,6 @@ run: game.jar
|
||||||
clean:
|
clean:
|
||||||
rm -rf compiled
|
rm -rf compiled
|
||||||
rm -f game.jar
|
rm -f game.jar
|
||||||
|
|
||||||
|
stat:
|
||||||
|
find . -type f -name '*.java' -print0 | xargs -0 wc -l
|
||||||
|
|
|
@ -28,6 +28,10 @@ There are some minor things you need to set up to your project in eclipse:
|
||||||
* Add the folder res/ to your *build path*!
|
* Add the folder res/ to your *build path*!
|
||||||
* You're now set up to develop and test!
|
* You're now set up to develop and test!
|
||||||
|
|
||||||
|
Stats
|
||||||
|
-----
|
||||||
|
If you're interested in the amount of code, run 'make stat'.
|
||||||
|
|
||||||
Troubleshooting
|
Troubleshooting
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue