APP_NAME=llx-taskman GTK_COMPILE=`pkg-config gtk+-3.0 --cflags` WNCK_COMPILE=`pkg-config libwnck-3.0 --cflags` GTK_LINK=`pkg-config gtk+-3.0 --libs` WNCK_LINK=`pkg-config libwnck-3.0 --libs` COMPILER_FLAGS= -g LINKER_FLAGS=$(GTK_LINK) $(WNCK_LINK) $(APP_NAME): llx-taskman.o g++ -o $(APP_NAME) llx-taskman.o $(LINKER_FLAGS) all: $(APP_NAME) llx-taskman.o: llx-taskman.cpp g++ $(COMPILER_FLAGS) -c llx-taskman.cpp $(GTK_COMPILE) $(WNCK_COMPILE) clean: rm -f *.o rm -rf $(APP_NAME) install: all cp $(APP_NAME) /usr/bin