Subversion Repositories shark

Rev

Rev 1028 | Rev 1681 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
 
1016 mauro 2
dirs := $(filter-out CVS cvs first makefile, $(wildcard *))
2 pj 3
p_all := $(addprefix prefixall_, $(dirs))
4
p_install := $(addprefix prefixinstall_, $(dirs))
5
p_clean := $(addprefix prefixclean_, $(dirs))
1028 mauro 6
p_cleanall := $(addprefix prefixcleanall_, $(dirs))
7
p_depend := $(addprefix prefixdepend_, $(dirs))
2 pj 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
 
1028 mauro 20
depend: $(p_depend)
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