this post was submitted on 22 Oct 2023
1 points (100.0% liked)

makefile

24 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 1 year ago
MODERATORS
 

When writing a (GNU) Makefile, there are times when you need a particular target(s) to be run before anything else. That can be for example to check the environment, ensure variables are set or prepare a particular directory layout.

... take advantage of GNU Make's mechanism of includeing and makeing makefiles which is described in details in the manual:

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here