SAMPLE = simple_test CC = g++ COPTS ?= -g -L/home/marius/mesa/lib LIBS = -lGL -lglut -lGLU -lEGL -lGLESv2 -L/home/marius/mesa/lib #-lGLESv2 -ldrm -ldrm_intel -rdynamic libEGL.so libGLESv2.so -I/usr/X11R6/include -I/usr/include/libdrm -I/usr/include/drm -I/usr/local/include/ -I/usr/local/include/GLES2 -L/home/marius/mesa/lib all : $(SAMPLE) clean : rm -f $(SAMPLE) run : $(SAMPLE) ./$(SAMPLE) $(SAMPLE) : $(SAMPLE).cpp $(CC) -o $@ $(COPTS) $< $(LIBS)