mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
27 lines
446 B
Makefile
27 lines
446 B
Makefile
# Verbose toggle
|
|
V := @
|
|
ifeq (VERBOSE, 1)
|
|
V=
|
|
endif
|
|
|
|
# Colors
|
|
NO_COL := \033[0m
|
|
GREEN := \033[0;32m
|
|
BLUE := \033[0;36m
|
|
YELLOW := \033[0;33m
|
|
BLINK := \033[32;5m
|
|
|
|
PRINT := printf
|
|
|
|
define print_no_args
|
|
$(V)$(PRINT) "$(GREEN)$(1)$(NO_COL)\n"
|
|
endef
|
|
|
|
define print_one_arg
|
|
$(V)$(PRINT) "$(GREEN)$(1) $(BLUE)$(2)$(NO_COL)\n"
|
|
endef
|
|
|
|
define print_two_args
|
|
$(V)$(PRINT) "$(GREEN)$(1) $(YELLOW)$(2)$(GREEN) -> $(BLUE)$(3)$(NO_COL)\n"
|
|
endef
|