| 91 | # Parallel make (make --jobs) is not smart enough to coordinate builds |
| 92 | # between submakes, so a naive parallel make would cause certain |
| 93 | # targets to get built multiple times simultaneously. That is usually |
| 94 | # unacceptable. So we introduce extra dependencies here just to make |
| 95 | # sure such targets are already up to date before the submake starts, |
| 96 | # for the benefit of parallel make. Note that we ensure that parallel |
| 97 | # make works for 'make all' in the top directory, but it may still fail |
| 98 | # for the aforementioned reason for other invocations. |
| 99 | |
| 100 | $(SUBDIRS:%=%/all): pm_config.h inttypes_netpbm.h version.h |
| 101 | $(PROG_SUBDIRS:%=%/all): lib/all $(SUPPORT_SUBDIRS:%=%/all) |
| 102 | |