source: trunk/examples/Makefile.in @ 1096

Last change on this file since 1096 was 1096, checked in by gah, 12 years ago

yet another fix for perl language binding

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