source: trunk/minix/lib/ack/fphook/Makefile.in@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 665 bytes
Line 
1# Makefile for lib/ack/fphook.
2
3# The ACK ANSI C compiler has an nice trick to reduce the size of programs
4# that do not use floating point. If a program uses floating point then the
5# compiler generates an external reference to the label '_fp_hook'. This makes
6# the loader bring in the floating point printing and conversion routines
7# '_f_print' and 'strtod' from the library libd.a. Otherwise two dummy
8# routines are found in libc.a. (The printf and scanf need floating point
9# for the %f formats, whether you use them or not.)
10
11CFLAGS="-O -D_MINIX -D_POSIX_SOURCE -I.."
12
13LIBRARIES="libd libc"
14
15libd_FILES=fphook.c
16
17libc_FILES="fltpr.c strtod.c"
18
19TYPE=ack
Note: See TracBrowser for help on using the repository browser.