build: Add help for armdebug/release, and fix some make help alignment.

This commit is contained in:
Cory McWilliams 2024-12-24 10:39:11 -05:00
parent 0cbf66c007
commit 6185df512f

View File

@ -787,6 +787,8 @@ $(IOS_TARGETS) $(IOSSIM_TARGETS): LDFLAGS += \
##
debug: ## Build a debug executable for the current platform.
release: ## Build a release executable for the current platform.
armdebug: ## Cross-compile aarch64 debug on Linux.
armrelease: ## Cross-compile aarch64 release on Linux.
all: $(BUILD_TYPES) ## Build all targets that appear possible to build on this machine.
unix: debug release ## Build all UNIX targets.
win: windebug winrelease ## Build all Windows targets.
@ -1305,7 +1307,7 @@ help: ## Display this help message.
/^##/ { sub(/^## ?/, ""); print $$0 } \
/^[[:alnum:]-]+:.*##/ { \
sub(/:.*##\s?/, ":"); \
printf " %s%-20s%s %s%s%s\n", G, $$1, R, O, $$2, R \
printf " %s%-21s%s %s%s%s\n", G, $$1, R, O, $$2, R \
} \
' < $(filter-out %.d,$(MAKEFILE_LIST))
@echo "" # Blank line.