summaryrefslogtreecommitdiff
path: root/sys/src/cmd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-11-02 13:12:34 -0800
committerOri Bernstein <ori@eigenstate.org>2020-11-02 13:12:34 -0800
commit97de3f67c230a34d95778cc16a8c1003148f0b4b (patch)
tree62033b4c5db43532b2f91ee23e36e773dca35d9a /sys/src/cmd
parent33fb16c9fe7744aae8736bb4b48ba4e0f505eafc (diff)
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.
Diffstat (limited to 'sys/src/cmd')
-rw-r--r--sys/src/cmd/upas/common/mkfile5
1 files changed, 1 insertions, 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
</sys/src/cmd/mklib