source: trunk/examples/Makefile.in @ 1656

Last change on this file since 1656 was 1466, checked in by gah, 16 years ago

added flow examples

File size: 962 bytes
RevLine 
[1018]1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10destdir         = $(prefix)/examples/3D
11
[1059]12SHELL           = @SHELL@
[1018]13INSTALL         = @INSTALL@
[1082]14MKDIR_P         = @MKDIR_P@
[1018]15
16destdir         = $(prefix)/examples
17
18FILES           = \
19                demo.bash
20
[1044]21SUBDIRS         = \
22                3D \
23                app-fermi \
24                c-example \
25                canvas \
[1466]26                flow \
[1044]27                graph \
[1096]28                objects \
[1044]29                zoo
30
[1055]31
32.PHONY:         $(SUBDIRS)
33
[1018]34all:  build
35
36build:
[1059]37        for i in $(SUBDIRS) ; do \
[1044]38            $(MAKE) -C $$i all || exit 1 ; \
39        done
[1018]40
[1044]41install:
[1082]42        $(MKDIR_P) $(destdir)
[1018]43        for i in $(FILES) ; do \
44          $(INSTALL) -m 555 $$i $(destdir) ; \
45        done
[1055]46        for i in $(SUBDIRS) ; do \
[1044]47            $(MAKE) -C $$i install || exit 1 ; \
48        done
[1018]49
50clean:
[1055]51        for i in $(SUBDIRS) ; do \
[1044]52            $(MAKE) -C $$i clean || exit 1 ; \
53        done
[1018]54
55distclean: clean
[1055]56        for i in $(SUBDIRS) ; do \
[1044]57            $(MAKE) -C $$i distclean || exit 1 ; \
58        done
[1018]59        $(RM) Makefile *~
[1044]60
Note: See TracBrowser for help on using the repository browser.