1999-01-27 17:15:34 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
1999-01-10 10:49:57 +00:00
|
|
|
|
|
|
|
CC = g++
|
|
|
|
|
|
|
|
isosurf: isosurf.o glcanvas.o
|
|
|
|
$(CC) -o isosurf \
|
|
|
|
isosurf.o glcanvas.o \
|
|
|
|
`wx-config --libs` -lMesaGL -lMesaGLU
|
|
|
|
|
|
|
|
isosurf.o: isosurf.cpp
|
1999-01-27 17:15:34 +00:00
|
|
|
$(CC) `wx-config --cflags` -I../../gtk -c isosurf.cpp
|
1999-01-10 10:49:57 +00:00
|
|
|
|
1999-02-10 17:15:19 +00:00
|
|
|
glcanvas.o: ../../gtk/glcanvas.cpp
|
1999-01-27 17:15:34 +00:00
|
|
|
$(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
|
1999-01-10 10:49:57 +00:00
|
|
|
|
|
|
|
clean:
|
1999-02-10 17:15:19 +00:00
|
|
|
rm -f *.o isosurf
|