|
|
| File: [Development] / inventor / apps / demos / gview / GNUmakefile (download)
Revision 1.6, Sat Jun 1 02:22:20 2002 UTC (15 years, 4 months ago) by jlim
Changed main() return type to int and added fix for Bug 148: Modify build procedure to allow installation in /usr/local. |
IVDEPTH = ../../..
include $(IVDEPTH)/make/ivcommondefs
PROGRAM = gview
DEMO = $(PROGRAM)
CXXFILES = \
gview.c++ DisplayGraph.c++ Error.c++ FieldEditor.c++ \
GraphIcon.c++ GraphViewer.c++ NodeCreator.c++
LLDLIBS = -lInventor -lInventorXt
all: all_ivbin
install: install_ivdemo
$(INSTALL) -m 644 windmill.iv $(IVDEMODATADIR)
$(INSTALL) -m 644 gviewIcons.iv $(IVDEMODATADIR)
HF = gviewIcons.iv.h
LTARGETS = $(HF)
$(HF): %.h: %
(echo "const char gviewIcons[] ="; \
sed -e '{ s/"/\\"/g; s/^/"/; s/$$/\\n"/; }' $^; echo \;) > $^.h
LDIRT += $(HF)
include $(IVCOMMONRULES)