Filename: Private: No Yes Filetype: Auto ABAP Sophia Apex Azure CLI Batch Bicep C Cameligo Clojure CoffeeScript C++ C# CSP CSS Cypher Dart Dockerfile ECL Elixir Flow9 FreeMarker2 FreeMarker2 (Angle/Bracket) FreeMarker2 (Angle/Dollar) FreeMarker2 (Auto/Bracket) FreeMarker2 (Auto/Dollar) FreeMarker2 (Bracket/Bracket) FreeMarker2 (Bracket/Dollar) F# Go GraphQL Handlebars Terraform HTML Ini Java JavaScript Julia Kotlin Less Lexon Liquid Lua Modula-3 Markdown MDX MIPS DAX MySQL Objective-C Pascal Pascaligo Perl PostgreSQL PHP Plain text ATS PQ PowerShell Protobuf Pug Python Q# R Razor Redis Redshift ReStructuredText Ruby Rust Small Basic Scala Scheme Sass Shell Solidity SPARQL SQL StructuredText Swift SV Tcl Twig TypeScript TypeSpec Visual Basic V WebGPU Shading Language XML YAML Indentation: Spaces Tabs 1 2 3 4 5 6 7 8 Clone ## ##@ General ## ## Print this message and exit .PHONY: help help: @awk ' \ BEGIN { \ printf "\nUsage:\n make \033[36m<target>\033[0m\n" \ } \ END { \ printf "\n" \ } \ /^[0-9A-Za-z-]+:/ { \ if (prev ~ /^## /) { \ printf " \x1b[36m%-23s\x1b[0m %s\n", substr($$1, 0, length($$1)-1), substr(prev, 3) \ } \ } \ /^##@/ { \ printf "\n\033[1m%s\033[0m\n", substr($$0, 5) \ } \ !/^\.PHONY/ { \ prev = $$0 \ } \ ' $(MAKEFILE_LIST) ## ##@ Build ## ## All! .PHONY: all all: @echo all ## ... or none? .PHONY: none none: @echo none ## ##@ Old ## ## Print this message and exit .PHONY: old old: @cat $(MAKEFILE_LIST) | awk ' \ /^([0-9a-z-]+):[0-9a-z -]*$$/ { \ if (prev ~ /^## /) { \ printf("\x1b[36m%-32s\x1b[0m %s\n", substr($$1, 0, length($$1)-1), substr(prev, 3)) \ } \ } \ !/^\.PHONY:/ { \ prev = $$0 \ } \ ' # vim:ft=make:ts=4:sts=4:sw=4:noet Paste