compile all the source files to object files and use gcc to combine all of those files into an image. you can easily find the way to do this on basic OS-dev youtube videos.