Subversion Repositories shark

Rev

Rev 3 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
 
2
dirs := $(filter-out CVS makefile, $(wildcard *))
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
 
20
depend: $(p_depend)
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