]> 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 fd005b951d8412b23f2597d337e88543ec0984c2..340df1537f0df5b61f3d46cc25c8ceaed8dab6ad 100644 (file)
@@ -1,23 +1,34 @@
+#
+# File:                Makefile
+# Author:      Robert Roebling
+# Created:     1999
+# Updated:     
+# Copyright:   (c) 1998 Robert Roebling
+#
+# Makefile for OpenGL demo (GTK version)
+#
+# This makefile requires wxWindows/GTK to be 
+# installed (possibly using "make install")
+# 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../../src -c penguin.cpp
+       $(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
 
 lw.o: lw.cpp
-       $(CPP) `wx-config --cflags` -I../../src -c lw.cpp
+       $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
 
 trackball.o: trackball.c
-       $(CC) `wx-config --cflags` -I../../src -c trackball.c
+       $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
 
-glcanvas.o: ../../src/glcanvas.cpp
-       $(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../src -c ../../src/glcanvas.cpp
+glcanvas.o: ../../gtk/glcanvas.cpp
+       $(CPP) `wx-config --cflags` `gtk-config --cflags` -g -I../../gtk -c ../../gtk/glcanvas.cpp
 
 clean: 
-       rm -f *.o penguin
+       rm -f *.o Penguin