Subject: a make question
To: None <netbsd-users@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-users
Date: 08/25/2000 16:24:01
I'm stuck on a make problem I'm having.

What I want is to list lots of dependencies like:


foo:: dep1
foo:: dep2
foo:: dep3
.
.
.

then provide 1 line that says 'if foo is out of date rebuild it with the
following command'.

but if I just do:


foo::
	command to rebuild


then make always wants to rebuild foo.

I know this is maybe an ugly way to write the depends, but for other
reasons (long story), its really really convienient in my particular case.

Suggestions?

Thanks

-Dan