This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: subdir dependency
- To: OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
- Subject: Re: subdir dependency
- From: Tom Tromey <tromey@cygnus.com>
- Date: Thu, 24 Jun 1999 16:19:16 -0700
- Cc: automake@gnu.org
- References: <19990625071348N.okuji@kuicr.kyoto-u.ac.jp>
>>>>> ">" == OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> writes:
>> I have a question related to Automake. When a subdirectory A
>> depends on a subdirectory B, that is, "make -C B" must be run
>> before "make -C A", how can I enforce the order? Automake `make's
>> subdirectories in the same order as seen in the variable SUBDIRS,
>> so that doesn't cause any problem if I set SUBDIRS in the correct
>> order (SUBDIRS = B A). However, I'm not sure what happens when the
>> user runs `make' with parallel make feature turned on. Can I
>> specify the dependency explicitly?
SUBDIRS is explicitly serializing. Even with "make -j", B will be
built before A.
T