add stats
This commit is contained in:
parent
665c19264c
commit
4c53f3669a
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -std=c++11
|
CXXFLAGS = -std=c++11
|
||||||
RM = rm -f
|
RM = rm -rf
|
||||||
|
|
||||||
RAPPORT_DIR = Rapport
|
RAPPORT_DIR = Rapport
|
||||||
EXCLUSIONS = README.* $(RAPPORT_DIR)
|
EXCLUSIONS = README.* $(RAPPORT_DIR)
|
||||||
|
@ -20,6 +20,7 @@ SOURCES_ME = $(filter-out src/rand_player.cpp, $(wildcard src/*.cpp))
|
||||||
OBJETS_ME = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES_RAND)))
|
OBJETS_ME = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES_RAND)))
|
||||||
EXE_ME = mcts_player
|
EXE_ME = mcts_player
|
||||||
|
|
||||||
|
STATS_DIR = new_stats
|
||||||
|
|
||||||
%.cpp.o: src/%.cpp
|
%.cpp.o: src/%.cpp
|
||||||
$(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS)
|
$(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS)
|
||||||
|
@ -57,3 +58,9 @@ tgz:
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(OBJETS_RAND) $(EXE_RAND) $(OBJETS_ME) $(EXE_ME)
|
$(RM) $(OBJETS_RAND) $(EXE_RAND) $(OBJETS_ME) $(EXE_ME)
|
||||||
$(RM) *.tar.gz
|
$(RM) *.tar.gz
|
||||||
|
|
||||||
|
stats:
|
||||||
|
./mk_stats.sh
|
||||||
|
|
||||||
|
clean-stats:
|
||||||
|
$(RM) $(STATS_DIR)
|
||||||
|
|
Reference in a new issue