source: trunk/examples/Makefile.in

Last change on this file was 6209, checked in by dkearney, 5 years ago

adding mapviewer examples from rappture-bat

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