1
submitted 11 months ago by bahmanm@lemmy.ml to c/makefile@lemmy.ml

There are two major flavours of variables in GNU Make: "simple" and "recursive".

While simple variables are quite simple and easy to understand, they can be limiting at times. On the other hand, recursive variables are powerful yet tricky.

...

There is exactly one rule to recall when using recursive variables...

๐Ÿง  The value of a recursive variable is computed every time it is expanded.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 14 Sep 2023
1 points (100.0% liked)

makefile

0 readers
1 users here now

๐Ÿ“ข ย  All about Makefiles, Gnu Make, BSD Make & POSIX Make:

๐Ÿ˜Ž ย  Don't repeat yourself - Make Make make things happen for you!

๐Ÿ“– ย  Gnu Make manual is your friend.

๐Ÿ—จ ย  Join the chatter in #.mk:matrix.org.


โš  ย  Knowing/Mastering Make is nothing special. Please bear that in mind & keep the conversations respectful & civil.

โ›” ย  Hate speech, bigotry and NSFW content will not be tolerated.


founded 11 months ago
MODERATORS