]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/penguin/makefile.unx
show the resize cursor when the mouse is above the grip and not only when it's just...
[wxWidgets.git] / samples / opengl / penguin / 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# Makefile for penguin example (UNIX).
9
d969af82
VS
10OPENGL_LIBS=-lGL -lGLU
11#if you have old Mesa, try this:
12#OPENGL_LIBS=-lMesaGL -lMesaGLU
13
c661ecca 14CPP = g++
a6f762a6 15CXX = $(shell wx-config --cxx)
8b089c5e 16
c661ecca
RR
17Penguin: penguin.o trackball.o lw.o
18 $(CPP) -o Penguin \
19 penguin.o trackball.o lw.o \
d969af82 20 `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS)
8b089c5e 21
c661ecca 22penguin.o: penguin.cpp
f6656ccb 23 $(CPP) `wx-config --cxxflags` -I../../gtk -c penguin.cpp
8b089c5e 24
c661ecca 25lw.o: lw.cpp
f6656ccb 26 $(CPP) `wx-config --cxxflags` -I../../gtk -c lw.cpp
8b089c5e 27
c661ecca 28trackball.o: trackball.c
a6f762a6 29 $(CXX) `wx-config --cxxflags` -I../../gtk -c trackball.c
c661ecca
RR
30
31clean:
32 rm -f *.o Penguin
8b089c5e 33