# Note this assumes that PKG_CONFIG_PATH is setup correctly
PLAYER_LIB=`pkg-config --cflags --libs playerc++`

common= common_functions.cc \
		cmdline_parsing.cc \
		occupancy_grid.cc

bin=me132_tutorial_planning

CFLAGS=-ggdb -Wall

all: $(bin)

%: %.cc $(common)
	echo Player: $(PLAYER_LIB)
	g++ -o $@ $(PLAYER_LIB) $(CFLAGS)  $^ 

clean:
	rm -f $(bin)