From 97de3f67c230a34d95778cc16a8c1003148f0b4b Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Mon, 2 Nov 2020 13:12:34 -0800 Subject: upas/common: delete library on 'mk clean' libcommon.a$O doesn't end with a .a, so mk doesn't know how to look inside it in order to check if the files are up to date. This means that when 'mk clean' is run, libcommon.a$O looks up to date: % mk clean ... % mk mk: 'default' is up to date Deleting the library works around this problem. --- sys/src/cmd/upas/common/mkfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/src/cmd/upas/common/mkfile b/sys/src/cmd/upas/common/mkfile index fa897b680..4d8de207d 100644 --- a/sys/src/cmd/upas/common/mkfile +++ b/sys/src/cmd/upas/common/mkfile @@ -14,10 +14,7 @@ OFILES=\ HFILES=common.h\ sys.h\ -UPDATE=\ - mkfile\ - ${OFILES:%.$O=%.c}\ - $HFILES\ +CLEANFILES=$LIB