diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-11-02 13:12:34 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-11-02 13:12:34 -0800 |
commit | 97de3f67c230a34d95778cc16a8c1003148f0b4b (patch) | |
tree | 62033b4c5db43532b2f91ee23e36e773dca35d9a | |
parent | 33fb16c9fe7744aae8736bb4b48ba4e0f505eafc (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.
-rw-r--r-- | sys/src/cmd/upas/common/mkfile | 5 |
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 |