Site Tools


wiki:makefile-functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:makefile-functions [August 19, 2026 at 18:03] Ivan Janevskiwiki:makefile-functions [August 19, 2026 at 18:10] (current) – external edit 127.0.0.1
Line 1: Line 1:
-# Functions+Makefile Functions
  
 **Make functions** manipulate strings and lists. Common ones: `wildcard`, `patsubst`, `subst`, `filter`, `foreach`. **Make functions** manipulate strings and lists. Common ones: `wildcard`, `patsubst`, `subst`, `filter`, `foreach`.
Line 11: Line 11:
  
 `$(wildcard *.c)` lists all `.c` files in the current directory. Essential for avoiding hardcoded file lists. `$(wildcard *.c)` lists all `.c` files in the current directory. Essential for avoiding hardcoded file lists.
----+ 
 **`patsubst`** replaces a pattern in a list: **`patsubst`** replaces a pattern in a list:
  
wiki/makefile-functions.1787162600.md.gz · Last modified: by Ivan Janevski