2000-02-28 03:22:57 -05:00
|
|
|
#
|
|
|
|
# File: makefile.unx
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1998
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1998 Julian Smart
|
|
|
|
#
|
|
|
|
# Makefile for penguin example (UNIX).
|
|
|
|
|
2000-03-05 12:49:58 -05:00
|
|
|
CPP = g++
|
|
|
|
CC = gcc
|
2000-02-28 03:22:57 -05:00
|
|
|
|
2000-03-05 12:49:58 -05:00
|
|
|
Penguin: penguin.o trackball.o lw.o
|
|
|
|
$(CPP) -o Penguin \
|
|
|
|
penguin.o trackball.o lw.o \
|
|
|
|
`wx-config --libs` -lwx_gtk_gl -lMesaGL -lMesaGLU
|
2000-02-28 03:22:57 -05:00
|
|
|
|
2000-03-05 12:49:58 -05:00
|
|
|
penguin.o: penguin.cpp
|
|
|
|
$(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
|
2000-02-28 03:22:57 -05:00
|
|
|
|
2000-03-05 12:49:58 -05:00
|
|
|
lw.o: lw.cpp
|
|
|
|
$(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
|
2000-02-28 03:22:57 -05:00
|
|
|
|
2000-03-05 12:49:58 -05:00
|
|
|
trackball.o: trackball.c
|
|
|
|
$(CC) `wx-config --cflags` -I../../gtk -c trackball.c
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o Penguin
|
2000-02-28 03:22:57 -05:00
|
|
|
|