my -> mcts
This commit is contained in:
parent
0ce6c0ee8f
commit
dd4e5824e9
3 changed files with 6 additions and 6 deletions
10
TP2/Makefile
10
TP2/Makefile
|
@ -12,27 +12,27 @@ RAPPORT = $(RAPPORT_DIR)/rapport.pdf
|
|||
CP = rsync -r $(TAR_EXCLUDE)
|
||||
MV = mv
|
||||
|
||||
SOURCES_RAND = $(filter-out src/my_player.cpp, $(wildcard src/*.cpp))
|
||||
SOURCES_RAND = $(filter-out src/mcts_player.cpp, $(wildcard src/*.cpp))
|
||||
OBJETS_RAND = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES_RAND)))
|
||||
EXE_RAND = rand_player
|
||||
|
||||
SOURCES_ME = $(filter-out src/rand_player.cpp, $(wildcard src/*.cpp))
|
||||
OBJETS_ME = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES_RAND)))
|
||||
EXE_ME = my_player
|
||||
EXE_ME = mcts_player
|
||||
|
||||
|
||||
%.cpp.o: src/%.cpp
|
||||
$(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS)
|
||||
|
||||
all:
|
||||
$(MAKE) my_player
|
||||
$(MAKE) mcts_player
|
||||
$(MAKE) rand_player
|
||||
|
||||
rand_player: CXXFLAGS += -Wall -O2
|
||||
rand_player: compilation_rand
|
||||
|
||||
my_player: CXXFLAGS += -Wall -O2
|
||||
my_player: compilation_me
|
||||
mcts_player: CXXFLAGS += -Wall -O2
|
||||
mcts_player: compilation_me
|
||||
|
||||
dev: CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -Og -g
|
||||
dev: CXXFLAGS += -Wold-style-cast -Wsign-conversion
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env pike
|
||||
|
||||
// pike run_many_games.pike -f ./rand_player -s ./rand_player -v 1 -p 1 -l 6 -c 4
|
||||
// pike run_many_games.pike -f ./rand_player -s ./mcts_player -v 1 -p 1 -l 6 -c 4
|
||||
|
||||
// "Options:\n"
|
||||
// " -n, --number=NB_GAMES the number of games to play\n"
|
||||
|
|
Reference in a new issue