This commit is contained in:
aynic.os
2021-05-31 20:52:49 +02:00
parent 0996e2a355
commit 4b14361bc1
14 changed files with 90 additions and 85 deletions
+2 -2
View File
@@ -29,9 +29,9 @@ target:
## Show current context
context:
printf "${COLOR_BROWN}Context:${COLOR_RESET}\n"
$(MAKE) $(foreach var,$(CONTEXT),context-$(var))
$(MAKE) $(foreach var,$(CONTEXT),$(if $($(var)),context-$(var)))
.PHONY: context--%
.PHONY: context-%
context-%:
printf "${COLOR_BLUE}%-31s${COLOR_RESET}" $*
printf "${COLOR_GREEN}"