1MAKE = @make@
2
3all: @build_target@
4
5@build_target@:
6	@cd common     && $(MAKE) install-header
7#	@cd operations && $(MAKE) install-header
8	@cd solver     && $(MAKE) install-header
9#	@cd couple     && $(MAKE) install-header
10	@cd visualizer && $(MAKE) install-header
11	@cd common     && $(MAKE) @build_target@
12#	@cd operations && $(MAKE) @build_target@
13	@cd solver     && $(MAKE) @build_target@
14#	@cd couple     && $(MAKE) @build_target@
15	@cd hecmw      && $(MAKE) @build_target@
16	@cd visualizer && $(MAKE) @build_target@
17#	@cd etc        && $(MAKE) @build_target@
18
19msg-setup:
20	@cd common     && $(MAKE) msg-setup
21
22lex-setup:
23	@cd common     && $(MAKE) lex-setup
24
25clean:
26	@cd common     && $(MAKE) clean
27	@cd operations && $(MAKE) clean
28	@cd solver     && $(MAKE) clean
29	@cd couple     && $(MAKE) clean
30	@cd hecmw      && $(MAKE) clean
31	@cd visualizer && $(MAKE) clean
32	@cd etc        && $(MAKE) clean
33
34distclean:
35	@cd common     && $(MAKE) distclean
36	@cd operations && $(MAKE) distclean
37	@cd solver     && $(MAKE) distclean
38	@cd couple     && $(MAKE) distclean
39	@cd hecmw      && $(MAKE) distclean
40	@cd visualizer && $(MAKE) distclean
41	@cd etc        && $(MAKE) distclean
42
43install:
44	@cd common     && $(MAKE) install
45	@cd operations && $(MAKE) install
46	@cd solver     && $(MAKE) install
47	@cd couple     && $(MAKE) install
48	@cd hecmw      && $(MAKE) install
49	@cd visualizer && $(MAKE) install
50	@cd etc        && $(MAKE) install
51