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,31 +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 = gcc
|
||||
WXCONFIG=../../../wx-config
|
||||
WXINCLUDE=-I../../../include
|
||||
WXLIB=-L../../../lib
|
||||
|
||||
cube: cube.o # glcanvas.o
|
||||
$(CC) -o cube cube.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
|
||||
|
||||
cube.o: cube.cpp
|
||||
$(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c cube.cpp
|
||||
|
||||
glcanvas.o: ../../gtk/glcanvas.cpp
|
||||
$(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp
|
||||
|
||||
clean:
|
||||
rm -f *.o cube
|
||||
|
23
samples/opengl/cube/Makefile.in
Normal file
23
samples/opengl/cube/Makefile.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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/cube
|
||||
|
||||
PROGRAM=cube
|
||||
|
||||
LIBRARIES=-lMesaGL -lMesaGLU ../../../lib/libwx_gtk_gl.so
|
||||
|
||||
OBJECTS=$(PROGRAM).o
|
||||
|
||||
include ../../../src/makeprog.env
|
||||
|
Reference in New Issue
Block a user