From dec484575fb940f5ba0941f3c7ca2158f291d75b Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 1 May 1998 12:01:57 +0000 Subject: Added missing -DHAVE_CONFIG_H to CFLAGS. It happens to be a no-op here only because dc doesn't use anything in the gnu library that has a significant dependency on config.h. Simplified paths. --- gnu/usr.bin/dc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/usr.bin/dc') diff --git a/gnu/usr.bin/dc/Makefile b/gnu/usr.bin/dc/Makefile index 60b8b97..4df503f 100644 --- a/gnu/usr.bin/dc/Makefile +++ b/gnu/usr.bin/dc/Makefile @@ -1,13 +1,13 @@ -# $Id$ +# $Id: Makefile,v 1.8 1998/05/01 09:51:31 andreas Exp $ -.PATH: ${.CURDIR}/../../../contrib/bc/dc \ - ${.CURDIR}/../../../contrib/bc/lib \ - ${.CURDIR}/../../../contrib/bc/doc +BCDIR= ${.CURDIR}/../../../contrib/bc + +.PATH: ${BCDIR}/dc ${BCDIR}/lib ${BCDIR}/doc PROG= dc SRCS= array.c dc.c eval.c misc.c numeric.c stack.c string.c \ getopt.c getopt1.c number.c -CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h +CFLAGS+=-I${.CURDIR} -I${BCDIR}/h -DHAVE_CONFIG_H DPADD= ${LIBM} LDADD= -lm SUBDIR= doc -- cgit v1.1