get opengl samples going again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-03-01 20:11:17 +00:00
parent 77c4358743
commit 335258dcdd
11 changed files with 427 additions and 100 deletions

View File

@@ -1,32 +0,0 @@
#
# 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.
#
CC = g++
WXCONFIG=../../../wx-config
WXINCLUDE=-I../../../include
WXLIB=-L../../../lib
isosurf: isosurf.o # glcanvas.o
$(CC) -o isosurf \
isosurf.o \
`$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
isosurf.o: isosurf.cpp
$(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c isosurf.cpp
glcanvas.o: ../../gtk/glcanvas.cpp
$(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk -c $(WXINCLUDE) ../../gtk/glcanvas.cpp
clean:
rm -f *.o isosurf

View File

@@ -0,0 +1,25 @@
#
# File: Makefile.in
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998 Julian Smart
#
# "%W% %G%"
#
# Makefile for html about example (UNIX).
top_srcdir = @top_srcdir@/..
top_builddir = ../../..
program_dir = samples/opengl/isosurf
DATAFILES = isosurf.dat.gz
PROGRAM=isosurf
LIBRARIES=-lMesaGL -lMesaGLU ../../../lib/libwx_gtk_gl.so
OBJECTS=$(PROGRAM).o
include ../../../src/makeprog.env