From 4c53f3669a731c0630c7cd8bf821c92976c7fc20 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 29 Mar 2023 14:41:18 +0200 Subject: [PATCH] add stats --- TP2/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/TP2/Makefile b/TP2/Makefile index ebe5f2e..e7deeb8 100644 --- a/TP2/Makefile +++ b/TP2/Makefile @@ -1,6 +1,6 @@ CXX = g++ CXXFLAGS = -std=c++11 -RM = rm -f +RM = rm -rf RAPPORT_DIR = Rapport 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))) EXE_ME = mcts_player +STATS_DIR = new_stats %.cpp.o: src/%.cpp $(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS) @@ -57,3 +58,9 @@ tgz: clean: $(RM) $(OBJETS_RAND) $(EXE_RAND) $(OBJETS_ME) $(EXE_ME) $(RM) *.tar.gz + +stats: + ./mk_stats.sh + +clean-stats: + $(RM) $(STATS_DIR)