The first time I run "make -f good.mk" it creates bin and bin/a.out. The second time does nothing, which is correct.
The first time I run "make -f bad.mk" it creates bin and bin/a.out. The second time it creates bin/a.out, which is incorrect since bin has already been created and is an order-only prerequisite.
Cheers,
\\Marc
[Prev in Thread]
Current Thread
[Next in Thread]
BUG: Pattern rules incorrectly treat order-only prerequisites as normal prerequisites.,
Marc Eaddy<=