On Fri, Oct 24, 2008 at 5:00 PM, Peng Yu <[EMAIL PROTECTED]> wrote: ... > No. I'm not asking how to make clean.
I didn't say you were. > I just want to know how to combine the two if statements. Which is probably the Wrong Thing, because it'll fail to include dependencies if you say, for instance "make main". > The commands inside each if statements > can be anything, but they are the same. If you *really* think testing just for "all" and "" is the right then, then read up in the info pages on $(if), $(or), and $(and) and think about how to make them return the empty string based on the cases you want to match. Philip Guenther _______________________________________________ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make