]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/glcanvas/samples/penguin/Makefile
Applied patch for multiple file selection, documented.
[wxWidgets.git] / utils / glcanvas / samples / penguin / Makefile
index 0401bb93aaf3e0efae9ac4f90e04c2f97e8209cb..340df1537f0df5b61f3d46cc25c8ceaed8dab6ad 100644 (file)
 # on your system.
 #
 
-CPP = g++
+CPP = gcc
 CC = gcc
 
 Penguin: penguin.o trackball.o lw.o glcanvas.o
-       $(CPP) -o Penguin \
-       penguin.o trackball.o lw.o glcanvas.o \
-       `wx-config --libs` -lMesaGL -lMesaGLU
+       $(CPP) -o Penguin penguin.o trackball.o lw.o glcanvas.o `wx-config --libs` -lMesaGL -lMesaGLU
 
 penguin.o: penguin.cpp
        $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
@@ -30,7 +28,7 @@ trackball.o: trackball.c
        $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
 
 glcanvas.o: ../../gtk/glcanvas.cpp
-       $(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
+       $(CPP) `wx-config --cflags` `gtk-config --cflags` -g -I../../gtk -c ../../gtk/glcanvas.cpp
 
 clean: 
        rm -f *.o Penguin