title: How to run an executable in C using a linker
body: <p>Essentially I have
  header.h, tree.c, main.c, and list.c</p>
  <p>Can someone tell me how to execute this in my vi terminal. I know to run a solo c file it's gcc list.c ...., but I need these linked and the header included. I just don't understand the format for running them all together as an executable with a linker. I've included header in all the files, but main relies on list and tree, and vice versa.</p>
  <p>Any help trying to compile and run these with gcc in the terminal would be a big help. Whenever I try, it keeps running them separately and I get a bunch of errors.</p>