]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/penguin/Makefile
OpenGl updates (still gives warnings..)
[wxWidgets.git] / utils / glcanvas / samples / penguin / Makefile
CommitLineData
c8c5323c
RR
1#
2# File: Makefile
3# Author: Robert Roebling
4# Created: 1999
5# Updated:
6# Copyright: (c) 1998 Robert Roebling
7#
8# Makefile for OpenGL demo (GTK version)
9#
10# This makefile requires wxWindows/GTK to be
11# installed (possibly using "make install")
12# on your system.
13#
14
15CPP = g++
16CC = gcc
17
18Penguin: penguin.o trackball.o lw.o glcanvas.o
19 $(CPP) -o Penguin \
20 penguin.o trackball.o lw.o glcanvas.o \
21 `wx-config --libs` -lMesaGL -lMesaGLU
22
23penguin.o: penguin.cpp
1d61ebac 24 $(CPP) `wx-config --cflags` -g -I../../gtk -c penguin.cpp
c8c5323c
RR
25
26lw.o: lw.cpp
27 $(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
28
29trackball.o: trackball.c
30 $(CC) `wx-config --cflags` -I../../gtk -c trackball.c
31
32glcanvas.o: ../../gtk/glcanvas.cpp
1d61ebac 33 $(CPP) `wx-config --cflags` `gtk-config --cflags` -g -I../../gtk -c ../../gtk/glcanvas.cpp
c8c5323c
RR
34
35clean:
36 rm -f *.o Penguin