forked from cory/tildefriends
build: I wanted to get the binary out of the makefile to appease F-Droid, and one thing lead to another.
This commit is contained in:
parent
50fef2edfa
commit
7ffc148358
23
GNUmakefile
23
GNUmakefile
@ -3,7 +3,7 @@
|
|||||||
MAKEFLAGS += --warn-undefined-variables
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
MAKEFLAGS += --no-builtin-rules
|
MAKEFLAGS += --no-builtin-rules
|
||||||
|
|
||||||
## [36;1m== Tilde Friends build. ==[m
|
## == Tilde Friends build. ==
|
||||||
##
|
##
|
||||||
## This is a list of all supported build targets.
|
## This is a list of all supported build targets.
|
||||||
##
|
##
|
||||||
@ -11,10 +11,10 @@ MAKEFLAGS += --no-builtin-rules
|
|||||||
## parallel (faster).
|
## parallel (faster).
|
||||||
##
|
##
|
||||||
## Useful variables to override:
|
## Useful variables to override:
|
||||||
## [35mCC[m Compiler.
|
## CC := Compiler.
|
||||||
## [35mAS[m Assembler.
|
## AS := Assembler.
|
||||||
## [35mLD[m Linker.
|
## LD := Linker.
|
||||||
## [35mANDROID_SDK[m Path to the Android SDK.
|
## ANDROID_SDK := Path to the Android SDK.
|
||||||
|
|
||||||
VERSION_CODE := 30
|
VERSION_CODE := 30
|
||||||
VERSION_NUMBER := 0.0.25-wip
|
VERSION_NUMBER := 0.0.25-wip
|
||||||
@ -1248,9 +1248,18 @@ help: ## Display this help message.
|
|||||||
@awk \
|
@awk \
|
||||||
-F: \
|
-F: \
|
||||||
-vG=$$(tput setaf 2) \
|
-vG=$$(tput setaf 2) \
|
||||||
|
-vO=$$(tput setaf 3) \
|
||||||
|
-vB=$$(tput setaf 4) \
|
||||||
|
-vM=$$(tput setaf 5) \
|
||||||
|
-vC=$$(tput setaf 6) \
|
||||||
-vR=$$(tput sgr0) ' \
|
-vR=$$(tput sgr0) ' \
|
||||||
/^##/ { sub(/^##\s?/, ""); printf "%s%s%s\n", G, $$0, R } \
|
/^## ==.*==$$/ { sub(/^## ?/, ""); printf "%s%s%s\n", C, $$0, R } \
|
||||||
/^[[:alnum:]-]+:.*##/ { sub(/:.*##\s?/, ":"); printf "%s%-20s%s %s\n", G, $$1, R, $$2 } \
|
/^##.*:\=.*/ { sub(/^## ?/, ""); sub(/:\=/, ":"); printf " %s%-20s%s %s%s%s\n", M, $$1, R, O, $$2, R } \
|
||||||
|
/^##/ { sub(/^## ?/, ""); print $$0 } \
|
||||||
|
/^[[:alnum:]-]+:.*##/ { \
|
||||||
|
sub(/:.*##\s?/, ":"); \
|
||||||
|
printf " %s%-20s%s %s%s%s\n", G, $$1, R, O, $$2, R \
|
||||||
|
} \
|
||||||
' < $(filter-out %.d,$(MAKEFILE_LIST))
|
' < $(filter-out %.d,$(MAKEFILE_LIST))
|
||||||
@echo "" # Blank line.
|
@echo "" # Blank line.
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
|
Loading…
Reference in New Issue
Block a user