2026-10-11 16:02 UTC
Advanced Programming in the #UNIX Environment
Week 5: make(1)
Let's take a look at how the make(1) utility can be used to help us selectively build our code project. You don't need much to get started -- built-in default suffix rules make this easy -- but with time you can build complex build frameworks (see, e.g., #NetBSD's #pkgsrc system). We'll leave the question whether or not make(1) is Turing-complete for another day...
https://youtu.be/WLTuUtj7LPw
Replies (1)
-
@jschauma@mstdn.social 2026-10-12 14:46
Advanced Programming in the #UNIX Environment Week 5: Debugging Your Code Let's find a better approach to debug your code than sprinkling `printf("here")` statements all over our code. Use gdb(1) to catch segfaults, inspect variables, call functions, set breakpoints, step through the program, all while the program is running. https://youtu.be/61YwbTQy2G0 https://youtu.be/Miw0XLzHCws https://youtu.be/fOp4Q4mnTD4 https://youtu.be/hgcj7iAxhhU