[BACK]Return to GNUmakefile CVS log [TXT][DIR] Up to [Development] / inventor / apps / demos / qmorf

File: [Development] / inventor / apps / demos / qmorf / GNUmakefile (download)

Revision 1.2, Fri Sep 1 04:55:35 2000 UTC (17 years, 1 month ago) by jlim
Branch: MAIN
Changes since 1.1: +1 -1 lines

Minor cleanup.

IVDEPTH = ../../..
include $(IVDEPTH)/make/commonivdefs

DEPTH = ../..
LDIRT = *.d
LCXXFLAGS = -DLIBRARYBUILD \
	    -I../../samples/common/ \
	    -I../../../lib/database/include/ \
  	    -I../../../lib/interaction/include \
	    -I../../../lib/nodekits/include -O3 \
	    -I../../../libSoXt/include 

TARGETS = qmorf

LLDOPTS = \
	-L../../../libimage \
	-L../../../lib \
	-L/usr/X11R6/lib \
	-L../../../libSoXt \
	-L../../samples/common \
	-L/usr/X11R6/lib 

ifeq ($(usingLinux),1)
LLDOPTS += -L../../../libFL/src
endif

LLDLIBS = \
	-limage \
	-lInventorXt \
	-lInventor \
	-lcommon \
	-lXm -lXt -lXi -lX11 \
	-lFL -lGLU -lGL \
	-lXext \
	-lX11 -ldl -lm 

CXXFILES =\
	Background.c++ \
	FlashBackground.c++ \
	QuadThing.c++

OBJECTS=\
	Background.o \
	FlashBackground.o \
	QuadThing.o

$(TARGETS): qmorf quadSphere quadCube quadSheet


qmorf: $(OBJECTS) qmorf.o
	$(CXX) $(LDOPTS) qmorf.o $(OBJECTS) $(LDLIBS) -o qmorf

quadSphere: $(OBJECTS) quadSphere.o
	$(CXX) $(LDOPTS) quadSphere.o $(OBJECTS) $(LDLIBS) -o $@

quadCube: $(OBJECTS) quadCube.o
	$(CXX) $(LDOPTS) quadCube.o $(OBJECTS) $(LDLIBS) -o $@

quadSheet: $(OBJECTS) quadSheet.o
	$(CXX) $(LDOPTS) quadSheet.o $(OBJECTS) $(LDLIBS) -o $@

install: qmorf
	@mkdir -p $(IVROOT)/opt/SGIDemos/Inventor/bin
	@cp -f qmorf $(IVROOT)/opt/SGIDemos/Inventor/bin
	@cp -f qmorf.RUNME $(IVROOT)/opt/SGIDemos/Inventor/bin
	@cp -f qmorf.about $(IVROOT)/opt/SGIDemos/Inventor/bin

include $(COMMONRULES)