summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/bc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-11-04 16:14:16 +0000
committersteve <steve@FreeBSD.org>1996-11-04 16:14:16 +0000
commit96c8a8c203a8bc488386658545ed9c36df277629 (patch)
treefc092a6600a7a82690ff4ee277eb1841e1096b28 /gnu/usr.bin/bc
parent5fc5b2e5c733878cbd2f9ad76bf30836c8c08af9 (diff)
downloadFreeBSD-src-96c8a8c203a8bc488386658545ed9c36df277629.zip
FreeBSD-src-96c8a8c203a8bc488386658545ed9c36df277629.tar.gz
Change -I$(.CURDIR) to -I. in CFLAGS. As Bruce pointed out
$(...) is bad style and without -I. this program would not compile unless ${.OBJDIR} == ${.CURDIR}. Submitted by: bde
Diffstat (limited to 'gnu/usr.bin/bc')
-rw-r--r--gnu/usr.bin/bc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile
index dd11698..e4a2738 100644
--- a/gnu/usr.bin/bc/Makefile
+++ b/gnu/usr.bin/bc/Makefile
@@ -4,7 +4,7 @@ BCSRCS= execute.c global.c load.c main.c number.c storage.c util.c
GENSRCS= bc.c scan.c
SRCS= ${GENSRCS} ${BCSRCS}
-CFLAGS+= -D_POSIX_SOURCE -I$(.CURDIR)
+CFLAGS+= -D_POSIX_SOURCE -I.
CLEANFILES+= ${GENSRCS} y.tab.h
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud