mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-01 19:24:49 +00:00
mmake knows about some .PHONY targets
This commit is contained in:
parent
dd57c685aa
commit
f73576ab8a
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ while (( $# > 0 )); do
|
||||||
case $1 in
|
case $1 in
|
||||||
-j*) j=$1; shift ;;
|
-j*) j=$1; shift ;;
|
||||||
-*|*=*) flags+=($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 ;;
|
o/*) targs+=(o/$mode/${1#*/}); shift ;;
|
||||||
*) targs+=(o/$mode/$1); shift ;;
|
*) targs+=(o/$mode/$1); shift ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue