From b68474831b462615c0f959b3f03c2aaa0ec0a5c9 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 27 Mar 2000 14:53:26 +0000 Subject: Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in most cases and broke the world in some cases. Fixed some style bugs (the usual ones for DPADD and LDADD, misplacement of DPADD and LDADD, and misplacement of $FreeBSD$). --- bin/df/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/df/Makefile') diff --git a/bin/df/Makefile b/bin/df/Makefile index 182ac8c..d9a27cf 100644 --- a/bin/df/Makefile +++ b/bin/df/Makefile @@ -1,5 +1,5 @@ -# $FreeBSD$ # @(#)Makefile 8.3 (Berkeley) 5/8/95 +# $FreeBSD$ PROG= df SRCS= df.c vfslist.c @@ -8,8 +8,9 @@ BINMODE=2555 MOUNT= ${.CURDIR}/../../sbin/mount CFLAGS+= -I${MOUNT} -LDADD+= ${LIBM} -DPADD+= ${LIBM} .PATH: ${MOUNT} +DPADD= ${LIBM} +LDADD= -lm + .include -- cgit v1.1