]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/cube/Makefile
wxToolTip part II
[wxWidgets.git] / utils / glcanvas / samples / cube / Makefile
CommitLineData
b1170810
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#
aae24d21
RR
14
15CC = g++
16
17cube: cube.o glcanvas.o
18 $(CC) -o cube \
19 cube.o glcanvas.o \
20 `wx-config --libs` -lMesaGL -lMesaGLU
21
22cube.o: cube.cpp
b1170810 23 $(CC) `wx-config --cflags` -I../../gtk -c cube.cpp
aae24d21 24
b1170810
RR
25glcanvas.o: ../../gtk/glcanvas.cpp
26 $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
aae24d21
RR
27
28clean:
29 rm -f *.o cube