# Example makefile for Player client programs # # NOTE: Be sure you have LD_LIBRARY_PATH defined, to include /usr/local/lib # (typically, this goes in your .cshrc file (or appropriate variant # for the shell you are using) as "setenv LD_LIBRARY_PATH /usr/local/lib") PLAYERDIR = /pkgs/player-stage-2.0.3 CXX = g++ INCLUDES = -I$(PLAYERDIR)/include/player-2.0/ -I$(PLAYERDIR)/include/boost-1_33_1/ CFLAGS = -Wall -g $(INCLUDES) laserobstacleavoid: $(CXX) $(CFLAGS) -o laserobstacleavoid `pkg-config --cflags playerc++` laserobstacleavoid.cc `pkg-config --libs playerc++` clean: rm -f a.out core laserobstacleavoid *.o