How to <code>make</code
blog.erikwastaken.dev·5d·
Discuss: r/programming
🔧Code Generation
Preview
Report Post

Recently, I’ve had to rediscover some of my knowledge on makefiles for a work project. As these things go, when I had knowledge on makefiles it had all seemed obvious; so, no need to write it down, right?

Anyway, this is my attempt at properly archiving this knowledge for when I need it again five to ten years from now.

In case you don’t know, make is a build tool originally created by Stuart Feldman in 1976 at Bell Labs. While make is most commonly associated with C and C++ projects, it can be used in any context where you want to rebuild only the relevant parts of something after a dependency has changed.

Nowadays, many programming languages ship with their own build system, like Rust/Cargo, Zig, or Go; but make is not limited to just pure programming languages or build pr…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help