summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2000-06-25 20:31:08 +0000
committerespie <espie@openbsd.org>2000-06-25 20:31:08 +0000
commit0c3015a3fe820d0699d75426b9706efa6b06231a (patch)
tree45eaa85e7352607ba7fa0665fa0760f9253fe9fc
parentcorrect check for bad channel ids; from Wei Dai <weidai@eskimo.com> (diff)
downloadwireguard-openbsd-0c3015a3fe820d0699d75426b9706efa6b06231a.tar.xz
wireguard-openbsd-0c3015a3fe820d0699d75426b9706efa6b06231a.zip
Cater to people who don't run make depend better.
Also forgot a few CLEANFILES.
-rw-r--r--usr.bin/make/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index 59e56229621..f16deae950e 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 2000/06/23 16:39:45 espie Exp $
+# $OpenBSD: Makefile,v 1.19 2000/06/25 20:31:08 espie Exp $
PROG= make
CFLAGS+= -I${.OBJDIR} -I${.CURDIR} -Wall -Wno-char-subscripts -Wno-unused -Wstrict-prototypes#-Wmissing-prototypes -Wstrict-prototypes
@@ -33,6 +33,7 @@ libohash.a: ${LIBOBJS}
ranlib $@
CLEANFILES+=${LIBOBJS} libohash.a
+CLEANFILES+= hashconsts.h generate.o generate
beforedepend: hashconsts.h
# may need tweaking if you add variable synonyms or change the hash function
@@ -45,7 +46,7 @@ generate: generate.o error.o libohash.a
${CC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}
# kludge for people who forget to make depend
-${.CURDIR}/var.c: hashconsts.h
+var.o: hashconsts.h
.if make(install)
SUBDIR+= PSD.doc