Debian Codegraph @

apps/demos/gview/GNUmakefile

raw
1 IVDEPTH = ../../..
2 include $(IVDEPTH)/make/ivcommondefs
3
4 PROGRAM = gview
5 DEMO = $(PROGRAM)
6
7 CXXFILES = \
8 gview.c++ DisplayGraph.c++ Error.c++ FieldEditor.c++ \
9 GraphIcon.c++ GraphViewer.c++ NodeCreator.c++
10
11 LLDLIBS = -lInventor -lInventorXt -lGL -lXm -lXt -lX11
12
13 all: all_ivbin
14
15 install: install_ivdemo
16 $(INSTALL) -m 644 windmill.iv $(IVDEMODATADIR)
17 $(INSTALL) -m 644 gviewIcons.iv $(IVDEMODATADIR)
18
19 HF = gviewIcons.iv.h
20 LTARGETS = $(HF)
21
22 $(HF): %.h: %
23 (echo "const char gviewIcons[] ="; \
24 sed -e '{ s/"/\\"/g; s/^/"/; s/$$/\\n"/; }' $^; echo \;) > $^.h
25
26 LDIRT += $(HF)
27
28 include $(IVCOMMONRULES)