# Example makefile for Player client programs PLAYERDIR = /usr CXX = g++ INCLUDES = -I$(PLAYERDIR)/include/player-2.0/ -I$(PLAYERDIR)/include/boost/ CFLAGS = -Wall -g $(INCLUDES) laserobstacleavoid: $(CXX) $(CFLAGS) -o laserobstacleavoid `pkg-config --cflags playerc++` laserobstacleavoid.cc `pkg-config --libs playerc++` fidRand: $(CXX) $(CFLAGS) -o fidRand `pkg-config --cflags playerc++` fidRand.cc `pkg-config --libs playerc++` example4: $(CXX) $(CFLAGS) -o example4 `pkg-config --cflags playerc++` example4.cc `pkg-config --libs playerc++` clean: rm -f a.out core laserobstacleavoid goto test fidRand test1 *.o