INCLUDE_PATH="-I/opt/Enlightenment/include" LIBS_PATH="-L/opt/Enlightenment/lib" LIBS="-lecore_ipc" all: Example.cpp Testclass.o g++ -o Example Example.cpp Testclass.o ${INCLUDE_PATH} ${LIBS_PATH} ${LIBS} Testclass.o: Testclass.hpp Testclass.cpp g++ -c Testclass.cpp ${INCLUDE_PATH} clean: @rm -vf Example Testclass.o