# Settings for a GNU C++ compiler on Mac OS/X 10.4 or 10.5 with a local copy
# of the wxWidgets library to be used for graphics.
# The wxWidgets library included in the system apparently does not work
# with the "showcubes" program, so wxWidgets must be compiled from sources
# configured with the options "--with-x11 --with-opengl".
# Hint: Use also "--prefix=/home/YourName/wx".

WXBIN   = /Users/YourName/wx/bin/
SYSLIB  = `$(WXBIN)wx-config --libs`
SYSLIBG = `$(WXBIN)wx-config --libs --gl_libs` \
	-L/System/Library/Frameworks/OpenGL.framework/Libraries/ \
	-L/usr/X11R6/lib/ -lGL -dylib_file \
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
SYSINCL = `$(WXBIN)wx-config --cxxflags` \
	-I/usr/X11R6/include/ -I/usr/X11R6/include/GL/
CXX = g++
COMPILE = $(CXX) -O2 -Wall
LINK    = $(CXX)
LINKGUI = $(CXX)
MAKELIB = ar cru
IDXLIB  = ranlib
REMOVE  = rm -f
MKDIR   = mkdir
EXE     = 
LIBEXT  = .a
OBJEXT  = .o

