OSDN Git Service

Merge branch 'wdoor-stable'
[shogi-server/shogi-server.git] / Makefile
1
2 .PHONY: doc
3 doc: clean
4         rdoc --main README -o doc \
5           . shogi-server README mk_html mk_rate csa-file-filter
6
7 .PHONY: test-run
8 test-run: 
9         ./shogi-server --floodgate-games floodgate-600-10,floodgate-3600-0 hoge 4000
10
11
12 .PHONY: test-run-daemon
13 test-run-daemon: 
14         ./shogi-server --floodgate-games floodgate-600-10,floodgate-3600-0 --daemon . --pid-file ./shogi-server.pid --player-log-dir ./player-logs hoge 4000
15
16 .PHONY: stop-daemn
17 stop-daemon:
18         kill `cat shogi-server.pid`
19
20 .PHONY: test-time-run
21 test-time-run: 
22         ruby -r sample/test_time.rb ./shogi-server --floodgate-games floodgate-900-0,floodgate-3600-0 hoge 4000 
23
24 .PHONY: clean
25 clean:
26         -rm -rf doc