Revision control

1
MODULES = Source Tools
2
3
define build_target_for_each_module
4
for dir in $(MODULES); do \
5
${MAKE} $@ -C $$dir PATH_FROM_ROOT=$(PATH_FROM_ROOT)/$${dir}; \
6
exit_status=$$?; \
7
[ $$exit_status -ne 0 ] && exit $$exit_status; \
8
done; true
9
endef
10
11
all:
12
@$(build_target_for_each_module)
13
14
debug d:
15
@$(build_target_for_each_module)
16
17
release r:
18
@$(build_target_for_each_module)
19
20
release+assert ra:
21
@$(build_target_for_each_module)
22
23
testing t:
24
@$(build_target_for_each_module)
25
26
analyze:
27
@$(build_target_for_each_module)
28
29
clean:
30
@$(build_target_for_each_module)
31
32
installsrc:
33
$(build_target_for_each_module)