💾 Archived View for warpengineer.space › entries › my-notes-on-makefiles.gmi captured on 2023-04-26 at 13:09:07. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2023-12-28)

-=-=-=-=-=-=-

Stuff I use most

Output Functions

Defines

Functions

call example call example: reverse = $(2) $(1) D = $(call reverse,a,b) # D will contain 'b a'

filter example filter example: D = a.h a.c b.h b.c CFiles = $(filter %.c,$(D)) # CFiles will contain 'a.c b.c' only

List Functions

Directory/Path/File Functions

Create/Append to File

More stuff