summaryrefslogtreecommitdiff
path: root/lib/libkeynote
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-07-11 21:30:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-07-11 21:30:08 +0000
commit41bcf7ce24ca227f4b459609bf8b7822a6aed429 (patch)
tree4c33b97a7005cb45614f6129ee9725753cc96f75 /lib/libkeynote
parent8012ce8520650e483a1e587d038779f38986777d (diff)
make -j# fix, I had this forever actually.
okay millert@
Diffstat (limited to 'lib/libkeynote')
-rw-r--r--lib/libkeynote/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libkeynote/Makefile b/lib/libkeynote/Makefile
index 08cb415fabe..84c5b19eae6 100644
--- a/lib/libkeynote/Makefile
+++ b/lib/libkeynote/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2005/11/24 20:49:18 deraadt Exp $
+# $OpenBSD: Makefile,v 1.17 2012/07/11 21:30:07 espie Exp $
LIB= keynote
WANTLINT=
@@ -25,11 +25,14 @@ HDRS= keynote.h
SRCS= k.tab.c lex.kn.c environment.c parse_assertion.c signature.c auxil.c \
base64.c
-CLEANFILES+= k.tab.c lex.kn.c k.tab.h
+CLEANFILES+= k.tab.c lex.kn.c k.tab.h stamp_k
-k.tab.c: keynote.y keynote.h signature.h
+stamp_k: keynote.y keynote.h signature.h
+ touch $@
$(YACC.y) $(YACCFLAGS) ${.CURDIR}/keynote.y
+k.tab.c k.tab.h: stamp_k
+
lex.kn.c: keynote.l keynote.y keynote.h assertion.h signature.h
$(LEX.l) $(LEXFLAGS) ${.CURDIR}/keynote.l