summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/bc/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/bc/Makefile b/usr.bin/bc/Makefile
new file mode 100644
index 00000000000..4f5ce8ae488
--- /dev/null
+++ b/usr.bin/bc/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 1.1 2003/09/25 19:35:12 otto Exp $
+
+PROG= bc
+SRCS= bc.c scan.c
+CPPFLAGS+= -I. -I${.CURDIR}
+CFLAGS+= -Wall -Wno-unused
+YFLAGS+=
+CLEANFILES+= bc.c y.tab.h scan.c lex.yy.c
+
+beforeinstall:
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/bc.library \
+ ${DESTDIR}/usr/share/misc
+
+.include <bsd.prog.mk>