source: branches/uiuc_vtk_viewers/examples/objects/Makefile.in @ 5664

Last change on this file since 5664 was 3471, checked in by ldelgass, 12 years ago

Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.

File size: 929 bytes
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9srcdir          = @srcdir@
10prefix          = @prefix@
11
12INSTALL         = @INSTALL@
13INSTALL_DATA    = @INSTALL_DATA@
14VPATH           = $(srcdir)
15RM              = rm -f
16
17#               dxWriter \
18
19examples = \
20                axis \
21                curve \
22                floatBuffer \
23                histogram \
24                library \
25                number \
26                path \
27                plot \
28                string \
29                tree \
30                xmlparser
31
32destdir    = $(prefix)/examples/objects
33
34.PHONY: all install clean distclean
35
36all:
37        for i in $(examples) ; do \
38          $(MAKE) -C $$i all || exit 1; \
39        done
40
41install:
42        for i in $(examples) ; do \
43          $(MAKE) -C $$i install || exit 1; \
44        done
45
46clean:
47        for i in $(examples) ; do \
48          $(MAKE) -C $$i clean; \
49        done
50
51distclean:
52        for i in $(examples) ; do \
53          $(MAKE) -C $$i distclean; \
54        done
55        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.