Makefile & Executable
Ok I'm really newb to this,
I wrote a program, say robot.cc, and i want to write a makefile for it, so that when i type
where filename is an input file, it will compile the robot.cc and take in the input file with name "filename", and if filename is not present, then just run
./a.out instead of ./a.out filename
i know it looks something like
but doesnt seem to work
Thanks in advance.