From f73576ab8a99a863be35a7c9ea96a44b0796e2a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Sun, 17 Dec 2023 17:04:57 -0500 Subject: [PATCH] mmake knows about some .PHONY targets --- tool/zsh/mmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tool/zsh/mmake b/tool/zsh/mmake index 2264b3dc0..1ecb846f9 100644 --- a/tool/zsh/mmake +++ b/tool/zsh/mmake @@ -28,7 +28,9 @@ while (( $# > 0 )); do case $1 in -j*) j=$1; shift ;; -*|*=*) flags+=($1); shift ;; - o/$mode/*) targs+=($1); shift ;; + all|o|bins|check|test|depend|tags|aarch64) ;& + clean|toolchain|clean_toolchain|o/$mode/*) + targs+=($1); shift ;; o/*) targs+=(o/$mode/${1#*/}); shift ;; *) targs+=(o/$mode/$1); shift ;; esac