[email protected] wrote:
> Yes, reading more carefully I see I may have misled you. If
> you only use the .PHONY label there may be problems with
> non-GNU make. Try this though:
>
> foo: .PHONY
> build foo
> .PHONY:
>
> I'm pretty sure that leads GNU make to build foo no matter
> what, and make's that don't support the .PHONY label to
> do so unless there's a file called ".PHONY" present.
>
> Sorry for the confusion, and HTH,
Yes, I've had good luck with that. I've found I can use
'FORCE' in place of .PHONY and it works just as well, eg:
foo: FORCE
stuff
FORCE:
..and I include an extra blank line after the FORCE:
because I think old make's would complain.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev