PROGRAM=penguin
-LIBRARIES=-lMesaGL -lMesaGLU ../../../lib/libwx_gtk_gl.so
+LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS)
-OBJECTS=$(PROGRAM).o lw.o trackball.o
+OBJECTS =$(PROGRAM).o lw.o trackball.o
+DEPFILES=$(PROGRAM).d lw.d trackball.d
include ../../../src/makeprog.env
+-include $(DEPFILES)