wxWidgets/samples/opengl/penguin/makefile.unx
Robert Roebling c661ecca60 Various makefile and installation things.
main() is now always in the program. Also added a
    macro that doesn't set main at all so that users
    can have their own.
  The isosurf sample doesn't work anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 17:49:58 +00:00

30 lines
565 B
Plaintext

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