APP_NAME=mrpdi-gui GTKMM_COMPILE=`pkg-config gtkmm-2.4 --cflags` GTKMM_LINK=`pkg-config gtkmm-2.4 --libs` COMPILER_FLAGS=-I ../include/ LINKER_FLAGS=-lmrpdi $(APP_NAME): mrpdi-gui.o g++ -o $(APP_NAME) mrpdi-gui.o $(LINKER_FLAGS) $(GTKMM_LINK) all: $(APP_NAME) mrpdi-gui.o: mrpdi-gui.cpp g++ $(COMPILER_FLAGS) -c mrpdi-gui.cpp $(GTKMM_COMPILE) clean: rm -f *.o rm -rf $(APP_NAME)