meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| programming:makefile:functions [2024/03/22 09:35] – created niziak | programming:makefile:functions [2025/09/23 09:51] (current) – niziak | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| * $(**addprefix**) | * $(**addprefix**) | ||
| * $(**join**) | * $(**join**) | ||
| - | * $(**wildcard**) | + | * $(**wildcard**) |
| * $(**realpath**) - NOTE: file must exist! | * $(**realpath**) - NOTE: file must exist! | ||
| * $(**abspath**) - NOTE: do not require file to exist | * $(**abspath**) - NOTE: do not require file to exist | ||
| + | [[https:// | ||
| + | * $(**if**)\\ Example 1: <code make> | ||
| + | build: | ||
| + | $(if $(filter 1, | ||
| + | @echo | ||
| + | @echo "!!! Configured workspace detected: ' | ||
| + | ) | ||
| + | </ | ||
| + | $(if $(filter foo, | ||
| + | $(if $(filter-out foo, | ||
| + | </ | ||