summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/bc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/bc/Makefile')
-rw-r--r--gnu/usr.bin/bc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile
index fac7437..dd11698 100644
--- a/gnu/usr.bin/bc/Makefile
+++ b/gnu/usr.bin/bc/Makefile
@@ -1,6 +1,10 @@
PROG= bc
-SRCS= bc.c global.c scan.c util.c main.c number.c storage.c load.c execute.c
-MAN1= bc.1
+
+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)
+CLEANFILES+= ${GENSRCS} y.tab.h
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud