]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/opengl/penguin/makefile.unx
Move oleacc.lib from the VC++ projects/makefiles to libraries.h
[wxWidgets.git] / samples / opengl / penguin / 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# Makefile for penguin example (UNIX).
9
10OPENGL_LIBS=-lGL -lGLU
11#if you have old Mesa, try this:
12#OPENGL_LIBS=-lMesaGL -lMesaGLU
13
14CC = $(shell wx-config --cc)
15CXX = $(shell wx-config --cxx)
16
17Penguin: penguin.o trackball.o lw.o
18 $(CXX) -o Penguin \
19 penguin.o trackball.o lw.o \
20 `wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS)
21
22penguin.o: penguin.cpp
23 $(CXX) `wx-config --cxxflags` -I../../gtk -c penguin.cpp
24
25lw.o: lw.cpp
26 $(CXX) `wx-config --cxxflags` -I../../gtk -c lw.cpp
27
28trackball.o: trackball.c
29 $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
30
31clean:
32 rm -f *.o Penguin
33