2005-08-16 21:29:07 +08:00
|
|
|
TOPDIR = ../..
|
|
|
|
include $(TOPDIR)/Make/makedefs
|
|
|
|
|
|
|
|
CXXFILES =\
|
|
|
|
osgcamera.cpp\
|
|
|
|
|
2006-12-20 00:12:29 +08:00
|
|
|
LIBS += -losgViewer -losgGA -losgDB -losgUtil -losg $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS) -lOpenThreads
|
2005-08-16 21:29:07 +08:00
|
|
|
|
|
|
|
INSTFILES = \
|
|
|
|
$(CXXFILES)\
|
|
|
|
GNUmakefile.inst=GNUmakefile
|
|
|
|
|
|
|
|
EXEC = osgcamera
|
|
|
|
|
|
|
|
INC += $(X_INC)
|
|
|
|
LDFLAGS += -L/usr/X11R6/lib
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(USE_OPEN_THREAD),1)
|
|
|
|
DEF += -D_USE_OPEN_THREAD
|
|
|
|
INC += $(INC_OPEN_THREAD)
|
|
|
|
LDFLAGS += $(LIB_OPEN_THREAD)
|
|
|
|
LIBS += -lOpenThread
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(TOPDIR)/Make/makerules
|
|
|
|
|