c8c5323c96
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
30 lines
622 B
Makefile
30 lines
622 B
Makefile
#
|
|
# 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++
|
|
|
|
isosurf: isosurf.o glcanvas.o
|
|
$(CC) -o isosurf \
|
|
isosurf.o glcanvas.o \
|
|
`wx-config --libs` -lMesaGL -lMesaGLU
|
|
|
|
isosurf.o: isosurf.cpp
|
|
$(CC) `wx-config --cflags` -I../../gtk -c isosurf.cpp
|
|
|
|
glcanvas.o: ../../gtk/glcanvas.cpp
|
|
$(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
|
|
|
|
clean:
|
|
rm -f *.o isosurf
|