How to run C code from terminal?
<p>I am working on an assignment for class, and we are to work off of a class server where the code files are held. </p>

<p>I have copied the files to my home directory, and have been editing with vim (since my instructor for some reason prefers it to emacs). </p>

<p>But how do I actually test my code? the make file is provided, and when I type <code>make test.c</code>, I get back <code>make: Nothing to be done for test.c</code>. I don't understand why this is happening, because I have a print statement as the first line in <code>main</code>. Shouldn't that at least run? Also, how do I pass arguments to the <code>main</code> function <code>test.c</code> while using <code>make</code>??</p>

<p>As a side question, this server doesn't have <code>gdb</code> either, for some reason. I'm sure there is an alternative installed, I just don't know what it would be called to try and see if it's here.</p>