From Stefan Eileman, fixes for OSX gmake build to allow AGL or X11 implementation of osgViewer

This commit is contained in:
Robert Osfield
2007-02-06 17:01:20 +00:00
parent f81251bc77
commit c5776b1bf3
2 changed files with 16 additions and 3 deletions

View File

@@ -13,7 +13,16 @@ CXXFILES = \
ifeq ($(OS),Darwin)
CXXFILES += GraphicsWindowCarbon.cpp
ifeq ($(USE_AGL),yes)
CXXFILES += GraphicsWindowCarbon.cpp
else
ifeq ($(USE_CGL),yes)
CXXFILES += GraphicsWindowCarbon.cpp
else
CXXFILES += GraphicsWindowX11.cpp
LIBS += $(X_LIBS)
endif
endif
else
ifeq ($(OS),MINGW)
CXXFILES += GraphicsWindowWin32.cpp