add stats

This commit is contained in:
Mylloon 2023-03-29 14:41:18 +02:00
parent 665c19264c
commit 4c53f3669a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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)