8 bit os_f handles

Tom Hughes tom at compton.nu
Tue Mar 28 22:01:10 BST 2000


In message <200003282012.MAA29499 at purple.trimedia.sv.sc.philips.com>
          "Jonathan Coxhead" <jonathan at doves.demon.co.uk> wrote:

>    This is normal practice anyway. If a UNIX makefile contains the
> line
>
>       prog: prog.c
>          cc -o prog prog.c -lm
>
> do you think it should also have
>
>       prog: /usr/lib/libm.a
>
> ? Because this is *not* normal practice.

Indeed, although I have been known to do it on occasion. Surely the
point here though is that any code using os_f will have to include
os.h either directly or indirectly, and the Makefile would normally
have a dependency on that for any source file using os_f.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
...May you live all the days of your life.




More information about the oslib-user mailing list