source: trunk/examples/Makefile.in @ 1044

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

fixes of MacOSX build

File size: 910 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
12INSTALL         = @INSTALL@
13INSTALL_DATA    = @INSTALL_DATA@
14
15destdir         = $(prefix)/examples
16
17FILES           = \
18                demo.bash
19
20SUBDIRS         = \
21                3D \
22                app-fermi \
23                c-example \
24                canvas \
25                graph \
26                zoo
27
28all:  build
29
30build:
31        for i in $(SUBDIRS); do \
32            $(MAKE) -C $$i all || exit 1 ; \
33        done
34
35install:
36        $(INSTALL) -d $(destdir)
37        for i in $(FILES) ; do \
38          $(INSTALL) -m 555 $$i $(destdir) ; \
39        done
40        for i in $(SUBDIRS); do \
41            $(MAKE) -C $$i install || exit 1 ; \
42        done
43
44clean:
45        for i in $(SUBDIRS); do \
46            $(MAKE) -C $$i clean || exit 1 ; \
47        done
48
49distclean: clean
50        for i in $(SUBDIRS); do \
51            $(MAKE) -C $$i distclean || exit 1 ; \
52        done
53        $(RM) Makefile *~
54
Note: See TracBrowser for help on using the repository browser.