Rev 221 | Rev 1016 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | |
232 | giacomo | 2 | dirs := $(filter-out CVS cvs makefile, $(wildcard *)) |
2 | pj | 3 | p_all := $(addprefix prefixall_, $(dirs)) |
4 | p_install := $(addprefix prefixinstall_, $(dirs)) |
||
5 | p_clean := $(addprefix prefixclean_, $(dirs)) |
||
6 | pcleanall := $(addprefix prefixcleanall_, $(dirs)) |
||
7 | pdepend := $(addprefix prefixdepend_, $(dirs)) |
||
8 | |||
9 | |||
10 | .PHONY: all install clean cleanall depend |
||
11 | |||
12 | install: $(p_install) |
||
13 | |||
14 | all: $(p_all) |
||
15 | |||
16 | clean: $(p_clean) |
||
17 | |||
18 | cleanall: $(p_cleanall) |
||
19 | |||
43 | pj | 20 | depend: $(pdepend) |
2 | pj | 21 | |
22 | prefixinstall_%: |
||
23 | make -C $* install |
||
24 | |||
25 | prefixall_%: |
||
26 | make -C $* all |
||
27 | |||
28 | prefixclean_%: |
||
29 | make -C $* clean |
||
30 | |||
31 | prefixcleanall_%: |
||
32 | make -C $* cleanall |
||
33 | |||
34 | prefixdepend_%: |
||
35 | make -C $* depend |
||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 |