minix/lib/ack/libd/Makefile
Arun Thomas c0c8d25799 Rename mkfiles from minix.*.mk to bsd.*.mk
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00

18 lines
614 B
Makefile

# Makefile for libd
# The ACK ANSI C compiler has an nice trick to reduce the size of programs
# that do not use floating point. If a program uses floating point then the
# compiler generates an external reference to the label '_fp_hook'. This makes
# the loader bring in the floating point printing and conversion routines
# '_f_print' and 'strtod' from the library libd.a. Otherwise two dummy
# routines are found in libc.a. (The printf and scanf need floating point
# for the %f formats, whether you use them or not.)
CPPFLAGS+=-I${.CURDIR}/../../libc/stdio
LIB= d
SRCS= fphook.c
.include <bsd.lib.mk>