Improve makefile targets consistency

This commit is contained in:
Khue Doan
2021-05-23 12:24:32 +07:00
parent 00a8d044c0
commit 6e39a3db19
3 changed files with 15 additions and 6 deletions

View File

@ -1,11 +1,17 @@
.POSIX:
default: run
default: apply
.PHONY: run
run:
.PHONY: metal
metal:
make -C metal
.PHONY: infra
infra:
make -C infra
.PHONY: apps
apps:
make -C apps
.PHONY: tools
@ -15,3 +21,6 @@ tools:
.PHONY: docs
docs:
make -C docs
.PHONY: apply
apply: metal infra apps