makeopensource / mOS

MakeOpenSource Operating System
GNU General Public License v3.0
4 stars 8 forks source link

Rework Makefile #14

Closed Sploder12 closed 1 year ago

Sploder12 commented 1 year ago

The current Makefile is O(n) to update where n is the number of new files and their intermediates. Ideally, we wouldn't have to manually add each .c and .o file for every little thing, aka. O(1).

A potential issue is the boot sector MUST be compiled and linked separately from the rest of the kernel. (Although, this might be avoidable via Linker Scripts but I'm not sure)