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