o Object files now go in subdirectories named $(OS)$(ARCH).Opt and
$(OS)$(ARCH).Debug for OS's that support both architectures.
eg. Linux32.Opt and Linux32.Debug
o Libraries links are now placed in lib/$(OS)$(ARCH)
eg. lib/Linux32/
o Binaries are now placed in bin/$(OS)$(ARCH)
eg. bin/Linux32
o 'make install' and 'make instlinks' now place files/links in
/usr/local/{include,lib,share/OpenSceneGraph} by default on
most systems (Solaris still goes in /opt/OpenSceneGraph).
Rather than having the somwehat confusing INST_SYS_PREFIX and
INST_SHARE_PREFX, you can override these with just
INST_LOCATION
For example,
make INST_LOCATION=/usr
will place files at /usr/include, /usr/lib,
/usr/share/OpenSceneGraph.
20 lines
350 B
Makefile
20 lines
350 B
Makefile
TOPDIR = ../..
|
|
include $(TOPDIR)/Make/makedefs
|
|
|
|
CXXFILES =\
|
|
osgstereoimage.cpp\
|
|
|
|
LIBS += -losgProducer -lProducer $(OSG_LIBS) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
|
|
|
INSTFILES = \
|
|
$(CXXFILES)\
|
|
GNUmakefile.inst=GNUmakefile
|
|
|
|
EXEC = osgstereoimage
|
|
|
|
INC += $(PRODUCER_INCLUDE_DIR)
|
|
LDFLAGS += $(PRODUCER_LIB_DIR)
|
|
|
|
include $(TOPDIR)/Make/makerules
|
|
|