]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/isosurf/makefile.unx
Document wxTextCtrl::XYToPosition, PositionToXY and GetLineLength change
[wxWidgets.git] / samples / opengl / isosurf / makefile.unx
CommitLineData
8b089c5e
JS
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1998
5# Updated:
6# Copyright: (c) 1998 Julian Smart
7#
8# "%W% %G%"
9#
10# Makefile for isosurf example (UNIX).
11
d969af82
VS
12OPENGL_LIBS=-lGL -lGLU
13#if you have old Mesa, try this:
14#OPENGL_LIBS=-lMesaGL -lMesaGLU
15
8b089c5e
JS
16PROGRAM=isosurf
17
a6f762a6 18CXX = $(shell wx-config --cxx)
8b089c5e 19
c661ecca 20OBJECTS = $(PROGRAM).o
8b089c5e 21
c661ecca 22# implementation
8b089c5e 23
c661ecca
RR
24.SUFFIXES: .o .cpp
25
26.cpp.o :
a6f762a6 27 $(CXX) -c `wx-config --cxxflags` -o $@ $<
c661ecca
RR
28
29all: $(PROGRAM) isosurf.dat
30
31$(PROGRAM): $(OBJECTS)
a6f762a6 32 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS)
c661ecca
RR
33
34clean:
35 rm -f *.o $(PROGRAM)
8b089c5e
JS
36
37isosurf.dat: isosurf.dat.gz
38 gzip -c -d isosurf.dat.gz > isosurf.dat
39