Fixes for MacOSX build.

This commit is contained in:
Robert Osfield 2002-02-10 11:17:58 +00:00
parent 86620891af
commit a08fc47313
5 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ DEPFILES = $(OBJS:.o=.d)
C++ = cc
YFLAGS = -d
LCINCS += -I/usr/local/include
LCINCS += -I/usr/local/include -I/sw/include
LC++INCS += ${LCINCS}
CFLAGS = -O2 -W -Wall $(LCINCS) -D__DARWIN_OSX__
C++FLAGS = ${CFLAGS}
@ -17,7 +17,7 @@ CPPFLAGS = ${CFLAGS}
SO_EXT = dylib
DL_EXT = so
FRAMEWORKS = -framework GLUT -framework Carbon -framework OpenGL
FRAMEWORKS = -L/sw/lib -framework GLUT -framework Carbon -framework OpenGL
LDFLAGS =-all_load -L/usr/local/lib -L/usr/lib
DYNAMICLIBRARYLIB =

View File

@ -12,7 +12,7 @@
#include <osgDB/Registry>
#include <osgDB/ReadFile>
#include <GL/glut.h>
#include <osgGLUT/glut>
#include <osgGLUT/Viewer>

View File

@ -12,7 +12,7 @@
#include <osgUtil/FlightManipulator>
#include <osgUtil/DriveManipulator>
#include <GL/glut.h>
#include <osgGLUT/glut>
#include <osgGLUT/Viewer>
#include <osg/Quat>

View File

@ -11,7 +11,7 @@
#include <osgDB/Registry>
#include <osgDB/ReadFile>
#include <GL/glut.h>
#include <osgGLUT/glut>
#include <osgGLUT/Viewer>

View File

@ -9,7 +9,7 @@
#include <osgUtil/FlightManipulator>
#include <osgUtil/DriveManipulator>
#include <GL/glut.h>
#include <osgGLUT/glut>
#include <osgGLUT/Viewer>
#include <osg/Quat>