OS14: Organizing Our OS Code
April 10, 2022
Project: pkos
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
s for each submodule in your projectMakefile
- Goes into detail about why you shouldn't use separate
- GNU Make Include docs
- Tell you how to use
in GNU Make, which we use in this videoinclude
- 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
CodeProject: pkos