]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/cube/Makefile
Calling a Refresh() before the window is created no longer
[wxWidgets.git] / utils / glcanvas / samples / cube / 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
7941ba11 15CC = gcc
c8c5323c
RR
16
17cube: cube.o glcanvas.o
7941ba11 18 $(CC) -o cube cube.o glcanvas.o `wx-config --libs` -lMesaGL -lMesaGLU
c8c5323c
RR
19
20cube.o: cube.cpp
21 $(CC) `wx-config --cflags` -I../../gtk -c cube.cpp
22
23glcanvas.o: ../../gtk/glcanvas.cpp
24 $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp
25
26clean:
27 rm -f *.o cube