help-make
[Top][All Lists]
Advanced

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

Re: implementing emake's #pragma multi in GNU make?


From: Mark Galeck
Subject: Re: implementing emake's #pragma multi in GNU make?
Date: Fri, 8 Feb 2013 10:48:39 -0800 (PST)

--- On Fri, 2/8/13, Michael Stahl <address@hidden> wrote:

> > address@hidden ~]$ cat Makefile
> > bar1: bar
> >  touch $@
> > 
> > bar: foo
> > foo : baz
> >  touch foo bar
> > address@hidden ~]$ touch bar1 foo bar
> > address@hidden ~]$ touch baz
> > address@hidden ~]$ make bar1
> > touch foo bar
> > touch bar1
> 
> but how often do users invoke a particular file target
> manually?
> 
>  [0] /tmp > make
>  touch foo bar
>  [0] /tmp > make
>  touch bar1
> 
> is a result far more likely to happen in practice with your
> Makefile.


Michael,  I am sorry for being so dumb apparently, but I still don't see it.  
Can you tell me the sequence of steps to reproduce the problem?  

address@hidden ~]$ cat Makefile
all: foo bar bar1

bar1: bar
        touch $@

bar: foo
foo : baz
        touch foo bar
address@hidden ~]$ touch foo bar bar1
address@hidden ~]$ touch baz
address@hidden ~]$ make
touch foo bar
touch bar1





reply via email to

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