1999-01-27 12:15:34 -05:00
|
|
|
#
|
|
|
|
# File: Makefile
|
|
|
|
# Author: Robert Roebling
|
|
|
|
# Created: 1999
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1998 Robert Roebling
|
|
|
|
#
|
|
|
|
# Makefile for OpenGL demo (GTK version)
|
|
|
|
#
|
|
|
|
# This makefile requires wxWindows/GTK to be
|
|
|
|
# installed (possibly using "make install")
|
|
|
|
# on your system.
|
|
|
|
#
|
1999-01-10 05:49:57 -05:00
|
|
|
|
|
|
|
CPP = g++
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
Penguin: penguin.o trackball.o lw.o glcanvas.o
|
|
|
|
$(CPP) -o Penguin \
|
|
|
|
penguin.o trackball.o lw.o glcanvas.o \
|
|
|
|
`wx-config --libs` -lMesaGL -lMesaGLU
|
|
|
|
|
|
|
|
penguin.o: penguin.cpp
|
|
|
|
$(CPP) `wx-config --cflags` -I../../src -c penguin.cpp
|
|
|
|
|
1999-01-10 07:04:02 -05:00
|
|
|
lw.o: lw.cpp
|
|
|
|
$(CPP) `wx-config --cflags` -I../../src -c lw.cpp
|
1999-01-10 05:49:57 -05:00
|
|
|
|
|
|
|
trackball.o: trackball.c
|
|
|
|
$(CC) `wx-config --cflags` -I../../src -c trackball.c
|
|
|
|
|
|
|
|
glcanvas.o: ../../src/glcanvas.cpp
|
|
|
|
$(CPP) `wx-config --cflags` `gtk-config --cflags` -I../../src -c ../../src/glcanvas.cpp
|
|
|
|
|
|
|
|
clean:
|
1999-01-12 12:53:45 -05:00
|
|
|
rm -f *.o Penguin
|