Files
wxWidgets/samples/opengl/penguin/makefile.unx
Ron Lee 68f58d781a Updated config.{guess,sub}
Backported fixes from Robert Millan for HURD/K*BSD.
Fix broken linking of wxgtk_gl.
Fix uninitialised var warning in wxrcedit/preview.cpp
Updates for 2.4.2.5 .debs.
Update wx-config.1
Fixed makefile.unx in opengl samples to use --gl-lib
Removed #! from newevent.py


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@28560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 13:58:38 +00:00

30 lines
582 B
Plaintext

#
# File: makefile.unx
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998 Julian Smart
#
# Makefile for penguin example (UNIX).
CC = $(shell wx-config --cc)
CXX = $(shell wx-config --cxx)
Penguin: penguin.o trackball.o lw.o
$(CXX) -o Penguin \
penguin.o trackball.o lw.o \
`wx-config --gl-libs`
penguin.o: penguin.cpp
$(CXX) `wx-config --cxxflags` -I../../gtk -c penguin.cpp
lw.o: lw.cpp
$(CXX) `wx-config --cxxflags` -I../../gtk -c lw.cpp
trackball.o: trackball.c
$(CC) `wx-config --cflags` -I../../gtk -c trackball.c
clean:
rm -f *.o Penguin