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)