Don't recurse with cleanobj.
bsd.obj.mk handles the needs fine. When an objdir exists it will just rm -Rf the objdir. When it does not exist though it will call 'clean' and 'cleandepend', which properly recurse in bsd.progs.mk. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
8727aeb472
commit
e05c9e31e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288201
@ -84,7 +84,7 @@ $v =
|
||||
|
||||
.if !empty(PROGS) && !defined(_RECURSING_PROGS)
|
||||
# tell progs.mk we might want to install things
|
||||
PROGS_TARGETS+= checkdpadd clean cleandepend cleandir cleanobj depend install
|
||||
PROGS_TARGETS+= checkdpadd clean cleandepend cleandir depend install
|
||||
|
||||
.for p in ${PROGS}
|
||||
.if defined(PROGS_CXX) && !empty(PROGS_CXX:M$p)
|
||||
|
Loading…
Reference in New Issue
Block a user