diff options
author | 2007-11-28 09:39:01 +0000 | |
---|---|---|
committer | 2007-11-28 09:39:01 +0000 | |
commit | bf5a246db34649e61e8c40f939ed74e32ec60dab (patch) | |
tree | 9bd6e27d5d82fa1b7f94820a5ac21faf00fd4997 | |
parent | expand the description of -C; from martynas and myself (diff) | |
download | wireguard-openbsd-bf5a246db34649e61e8c40f939ed74e32ec60dab.tar.xz wireguard-openbsd-bf5a246db34649e61e8c40f939ed74e32ec60dab.zip |
PHONY targets never correspond to real files.
-rw-r--r-- | usr.bin/make/targ.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index 71bb7490383..946949bc201 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: targ.c,v 1.54 2007/11/24 15:41:01 espie Exp $ */ +/* $OpenBSD: targ.c,v 1.55 2007/11/28 09:39:01 espie Exp $ */ /* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */ /* @@ -477,7 +477,7 @@ look_harder_for_target(GNode *gn) GNode *extra, *cgn; LstNode ln; - if (gn->type & OP_RESOLVED) + if (gn->type & (OP_RESOLVED|OP_PHONY)) return; gn->type |= OP_RESOLVED; if (strncmp(gn->name, objdir, objdir_len) == 0) { |