CC=g++ CXXFLAGS=`pkg-config --cflags opencv` `pkg-config --cflags playercore` `pkg-config --cflags playerc++` -Wall LDFLAGS=`pkg-config --libs opencv` `pkg-config --libs playercore` `pkg-config --libs playerc++` all: house house : main.o $(CC) $(CFLAGS) $(LDFLAGS) main.o -o house clean: rm -f house *.o run: all ./house