add option to pass additional flags to Java runtime

master
melvin 2014-04-01 09:55:44 +08:00
parent b04ea067b5
commit a61da6046a
1 changed files with 2 additions and 1 deletions

View File

@ -201,10 +201,11 @@ ai1 ?= MMABFast
ai2 ?= MMABFast ai2 ?= MMABFast
debug ?= false debug ?= false
selfMode ?= false selfMode ?= false
flags ?=
%.t: $(MAG) %.t: $(MAG)
echo `hg id -n` > $*.log echo `hg id -n` > $*.log
$(RUN) \ $(RUN) ${flags} \
-Dmagarena.dir=`pwd`/release \ -Dmagarena.dir=`pwd`/release \
-Ddebug=${debug} \ -Ddebug=${debug} \
magic.DeckStrCal \ magic.DeckStrCal \