]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/opengl/isosurf/makefile.unx
wxFileSelector should have file name only, not path, passed to 3rd arg
[wxWidgets.git] / samples / opengl / isosurf / makefile.unx
... / ...
CommitLineData
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
12PROGRAM=isosurf
13
14CC = gcc
15
16OBJECTS = $(PROGRAM).o
17
18# implementation
19
20.SUFFIXES: .o .cpp
21
22.cpp.o :
23 $(CC) -c `wx-config --cflags` -o $@ $<
24
25all: $(PROGRAM) isosurf.dat
26
27$(PROGRAM): $(OBJECTS)
28 $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU
29
30clean:
31 rm -f *.o $(PROGRAM)
32
33isosurf.dat: isosurf.dat.gz
34 gzip -c -d isosurf.dat.gz > isosurf.dat
35