25 lines
511 B
Makefile
25 lines
511 B
Makefile
#!smake
|
|
include $(OSGHOME)/Make/makedefs
|
|
|
|
C++FILES = \
|
|
osgscribe.cpp
|
|
|
|
TARGET = $(OSGHOME)/bin/osgscribe
|
|
|
|
TARGET_BIN_FILES = osgscribe
|
|
|
|
#note, standard library list.
|
|
LIBS = -losgGLUT -losgUtil -losgDB -losg $(GLUTLIB) $(GL_LIBS) $(X_LIBS)
|
|
|
|
#under Darwin we have to use the framework stuff to get GLUT OpenGL etc.
|
|
MACOSXLIBS = -losgGLUT -losgUtil -losgDB -losg -lm -ldl -lstdc++ -lobjc
|
|
|
|
|
|
C++FLAGS += -I$(OSGHOME)/include
|
|
LDFLAGS += -L$(OSGHOME)/lib
|
|
|
|
include $(OSGHOME)/Make/makerules
|
|
|
|
test :
|
|
osgscribe cow.osg
|