added rule to compute bytes_per_card

master
melvin 2013-05-25 16:14:01 +08:00
parent 3496fce1ac
commit e42b40b7c4
1 changed files with 6 additions and 0 deletions

View File

@ -540,3 +540,9 @@ ai/benchmark.rnd:
exp/zermelo.tsv: $(wildcard exp/136*.log)
awk -f exp/extract_games.awk $^ | ./exp/whr.rb | tac > $@
bytes_per_card:
echo `du -b release/Magarena/scripts src/magic/card | awk '{s+=$$1} END {print s}'` \
/ \
`ls -1 release/Magarena/scripts/*.txt | wc -l` \
| bc -l