Xref: utzoo comp.bugs.sys5:304 comp.unix.wizards:6216 Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!mtuxo!mtune!codas!ateng!chip From: chip@ateng.UUCP (Chip Salzenberg) Newsgroups: comp.bugs.sys5,comp.unix.wizards Subject: Re: make bug? Message-ID: <158@ateng.UUCP> Date: 22 Jan 88 14:43:24 GMT References: <2979@ncrcae.Columbia.NCR.COM> <292@dana.UUCP> Reply-To: chip@ateng.UUCP (Chip Salzenberg) Organization: A T Engineering, Tampa, FL Lines: 26 In article <292@dana.UUCP> worley@dana.UUCP (John Worley) writes: > >In make, it is possible to specify multiple dependency lines: > > [example deleted] > > Exactly zero or one of these can have an action... This is only true for "normal" dependencies. If you specify a dependency with two colons instead of one, then you can have a different action for each dependency line: # If bar1 is newer than foo, do this foo:: bar1 echo bar1 # If bar2 is newer than foo, do this foo:: bar2 echo bar2 I've never had a need for this feature, but it seems like it should be useful for _something_. :-) -- Chip Salzenberg UUCP: "{codas,uunet}!ateng!chip" A T Engineering My employer's opinions are a trade secret. "Anything that works is better than anything that doesn't."