COMPILE = g++ -c -v -g -Wall LINK = g++ -v # You may need to change the definition of GNUROOT GNUROOT = /usr/lib/x86_64-linux-gnu INCLUD = -I$(CASROOT)/inc OCLIBS = -L$(CASROOT)/lib \ -lTKernel \ -lTKMath \ -lTKBRep \ -lTKGeomBase \ -lTKG3d \ -lTKG2d \ -lTKTopAlgo \ -lTKPrim \ -lTKBO \ -lTKFillet \ -lTKOffset GNULIBS = $(GNUROOT)/libQtGui.so.4 \ $(GNUROOT)/libQtCore.so.4 tutorial : tutorial.o $(LINK) -o $@ tutorial.o $(OCLIBS) $(GNULIBS) tutorial.o : tutorial.cc $(COMPILE) -o $@ $(INCLUD) -std=gnu++11 tutorial.cc