summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-09-25 19:35:13 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-09-25 19:35:13 +0000
commit1c789656f7f15d2acdbbf3d4a45252450be37f46 (patch)
treee738535900a597d0a2abb9e0b4b7dfcdac019170
parentc28eac98c3903d9c8877e69772b232621ad07f77 (diff)
Makefile for bc(1).
ok deraadt@
-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>