added gitignore
modified Makefile to compile external lib playerlib.cc added geteEnemyChar()
This commit is contained in:
parent
0b61f2a2f5
commit
b8ba70b0de
5 changed files with 24 additions and 18 deletions
5
Makefile
5
Makefile
|
@ -13,7 +13,8 @@ OBJECTS = $(SRC_mcp:.cc=.o) $(SRC_common:.cc=.o) \
|
|||
$(ASM_common:.S=.o) \
|
||||
players/example-player.o \
|
||||
players/random-player.o \
|
||||
players/my-player.o
|
||||
players/my-player.o \
|
||||
players/playerlib.o
|
||||
|
||||
CXXFLAGS += -std=c++11 -I. -g
|
||||
|
||||
|
@ -40,7 +41,7 @@ example-player: players/example-player.o
|
|||
my-player : players/my-player.o
|
||||
$(CXX) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
random-player : players/random-player.o
|
||||
random-player : players/random-player.o players/playerlib.o
|
||||
$(CXX) $^ -o $@ $(LDFLAGS)
|
||||
|
||||
PLAYER1 ?= my-player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue