jwp@uwmacc.UUCP (Jeffrey W Percival) (10/31/85)
I need some help on make dependencies... Here's what I'm trying to do: .SUFFIXES: .out .o.out: libfoo.a cc $*.o libfoo.a -o $*.out I intend this rule to say the x.out depends on x.o as well as libfoo.a Now, say I have a program named x.c. Then I do this: make x.out touch libfoo.a make x.out The second make says x.out is up to date, but it really needs to be remade because the library was updated. It seems that when I specify a rule, I can't declare additional dependencies. Is that right? p.s. Thanks for the help on my $$dir question! -- Jeff Percival ...!uwvax!uwmacc!jwp
gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (11/01/85)
> It seems that when I specify > a rule, I can't declare additional dependencies. Is that right? Yes.