I am working on an assignment for class, and we are to work off of a class server where the code files are held.
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).
But how do I actually test my code? the make file is provided, and when I type make test.c
, I get back make: Nothing to be done for test.c
. I don't understand why this is happening, because I have a print statement as the first line in main
. Shouldn't that at least run? Also, how do I pass arguments to the main
function test.c
while using make
??
As a side question, this server doesn't have gdb
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.