compilation using gmake rather than pmake or smake. This gets round issues with exporting OSGHOME.
20 lines
437 B
Makefile
20 lines
437 B
Makefile
#!gmake
|
|
include $(OSGHOME)/Make/makedefs
|
|
|
|
C++FILES = ReaderWriterOBJ.cpp glm.cpp
|
|
|
|
TARGET_BASENAME = osgdb_obj
|
|
|
|
LOADABLE = $(OSGHOME)/lib/osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
|
|
LIB=
|
|
|
|
TARGET_LOADER_FILES = osgPlugins/$(TARGET_BASENAME).$(DL_EXT)
|
|
|
|
LIBS = $(GL_LIBS) -losg -losgDB
|
|
MACOSXLIBS = -L$(OSGHOME)/lib -losg -losgDB -lstdc++
|
|
|
|
C++FLAGS += -I. -I$(OSGHOME)/include
|
|
LDFLAGS += -L$(OSGHOME)/lib
|
|
|
|
include $(OSGHOME)/Make/makerules
|