help-make
[Top][All Lists]
Advanced

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

RE: this is embarrasing... prerequisiste gets updated, but make still sa


From: Mark Galeck (CW)
Subject: RE: this is embarrasing... prerequisiste gets updated, but make still says it is older than target
Date: Mon, 2 Apr 2012 05:20:51 -0700

>However the above pseudo-code is nonsensical; you obviously have some
esoteric behavior you're trying to encode here but without knowing the

I believe by "nonsensical" you mean, "does not follow Paul's rules of 
makefiles".  OK, that's because I was trying to distill the behaviour to the 
smallest reproducible case.  Here is the next smallest case that captures the 
essence of what I am trying to do, and I believe follows Paul's rules.

Same behaviour as before.  If foobar is newer than foobar1, then >make foobar, 
updates only foobar1 but not foobar.  



.PHONY: phony

foobar: foobar1
        touch $@

foobar1: | resources
        touch $@

resources: phony 
        touch foobar1
        touch $@



reply via email to

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