]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/cube/Makefile
Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
[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
dc1efb1d
JS
16WXCONFIG=../../../../wx-config
17WXINCLUDE=-I../../../../include
18WXLIB=-L../../../../lib
c8c5323c
RR
19
20cube: cube.o glcanvas.o
dc1efb1d 21 $(CC) -o cube cube.o glcanvas.o `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU
c8c5323c
RR
22
23cube.o: cube.cpp
dc1efb1d 24 $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c cube.cpp
c8c5323c
RR
25
26glcanvas.o: ../../gtk/glcanvas.cpp
dc1efb1d 27 $(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk $(WXINCLUDE) -c ../../gtk/glcanvas.cpp
c8c5323c
RR
28
29clean:
30 rm -f *.o cube
dc1efb1d 31