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:
@@ -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
|
25
samples/opengl/isosurf/Makefile.in
Normal file
25
samples/opengl/isosurf/Makefile.in
Normal 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
|
||||
|
Reference in New Issue
Block a user