]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/isosurf/Makefile
Moved wxGLCanvas to more normal positions
[wxWidgets.git] / samples / opengl / isosurf / Makefile
CommitLineData
8b089c5e
JS
1#
2# File: Makefile
3# Author: Robert Roebling
4# Created: 1999
5# Updated:
6# Copyright: (c) 1998 Robert Roebling
7#
8# Makefile for OpenGl demo (GTK version)
9#
10# This makefile requires wxWindows/GTK to be
11# installed (possibly using "make install")
12# on your system.
13#
14
15CC = g++
16WXCONFIG=../../../wx-config
17WXINCLUDE=-I../../../include
18WXLIB=-L../../../lib
19
20isosurf: isosurf.o # glcanvas.o
21 $(CC) -o isosurf \
22 isosurf.o \
23 `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
24
25isosurf.o: isosurf.cpp
26 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c isosurf.cpp
27
28glcanvas.o: ../../gtk/glcanvas.cpp
29 $(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk -c $(WXINCLUDE) ../../gtk/glcanvas.cpp
30
31clean:
32 rm -f *.o isosurf