Β· Steve Grice Β· pagekey operating system Β· 1 min read
OS14: Organizing Our OS Code
In this video, we reorganize the entire project, taking it from cluttered to modular in less than 10 minutes.
Timestamps
- 0:00 Intro, Overview
- 0:25 Running the OS
- 0:43 The Main Changes
- 1:16 Other Minor Changes
- 1:34 Lessons Learned
- 2:40 The (New!) File Tree
- 3:42 Code Diff Walkthrough
- 7:06 Outro
References
- Recursive Make Considered Harmful paper
- Goes into detail about why you shouldnβt use separate
Makefile
s for each submodule in your project
- Goes into detail about why you shouldnβt use separate
- GNU Make Include docs
- Tell you how to use
include
in GNU Make, which we use in this video
- Tell you how to use
Other Resources
- Implementing Non-Recursive Make
- A helpful article
- boilermake
- Seems to be a boilerplate for Make projects using
include
- Definitely too complicated for me to understand/use, but a helpful reference
- Seems to be a boilerplate for Make projects using