CXXFLAGS = -g -Wall

CXXFLAGS += `$(ROOTSYS)/bin/root-config --cflags`

# add the name of you class (with .o) here
OBJS = exercise6.o BasePlayer.o NikThePlaya.o

LIBS = `$(ROOTSYS)/bin/root-config --libs`

TARGET = exercise6

$(TARGET): $(OBJS)
	$(CXX) -pg -o $(TARGET) $(OBJS) $(LIBS)

all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)