Removed "cd subdir" from the top-level Makefile, and replaced it with the
[dyninst.git] / Makefile
1 #
2 #
3 # First cut at a topLevel makefile for the paradyn system.
4 #
5 #
6
7
8 subsystems      = util rtinst thread paradyn paradynd paradyndSIM igen bininst
9
10 all clean install:
11         for subsystem in $(subsystems); do                      \
12             if [ -f $$subsystem/$(PLATFORM)/Makefile ]; then    \
13                $(MAKE) -C $$subsystem/$(PLATFORM) $@;           \
14             else                                                \
15                 true;                                           \
16             fi                                                  \
17         done
18
19 man install-man:
20         for subsystem in $(subsystems); do                      \
21             if [ -f $$subsystem/$(PLATFORM)/Makefile ]; then    \
22                $(MAKE) -C $$subsystem/docs $@;                  \
23             else                                                \
24                 true;                                           \
25             fi                                                  \
26         done