help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: order-only dependency and transitivity


From: Ross Boylan
Subject: Re: order-only dependency and transitivity
Date: Wed, 9 Jun 2004 13:29:18 -0700
User-agent: Mutt/1.5.5.1+cvs20040105i

On Wed, Jun 09, 2004 at 04:14:45PM -0400, Noel Yap wrote:
> Can you copy and paste your command lines and output, please?
> 
> Thanks,
> Noel
address@hidden:~/UCSF/peter/R/mspath/src/maketest$ touch x.cc
address@hidden:~/UCSF/peter/R/mspath/src/maketest$ touch x.o
address@hidden:~/UCSF/peter/R/mspath/src/maketest$ touch m.web
address@hidden:~/UCSF/peter/R/mspath/src/maketest$ make x.o
tangling web
touch x.cc
touch m.touch
address@hidden:~/UCSF/peter/R/mspath/src/maketest$ make x.o
compiling x
touch x.o
address@hidden:~/UCSF/peter/R/mspath/src/maketest$ cat Makefile
m.touch: m.web
        @echo tangling web
        touch x.cc
        touch m.touch

x.cc: | m.touch
        @echo x.cc rule

x.o: x.cc
        @echo compiling x
        touch x.o

# I changed the order of commands in m.touch (relative to my original
# post)for greater realism, but it made no difference.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]