I need to create a makefile that will compile my simpleprogram.c to sp and it can be called like unix commands like ls,ps etc, without writing explicitly ./sp. I looked upon the web and cannot find a solution, or searching it in a wrong way. I cannot search like “executable without ./” , because I do not know what is this called => “./“
I need to create a makefile that will compile my simpleprogram.c to sp and
Share
Put the binary in a directory that’s in your
PATH.http://www.cs.purdue.edu/homes/cs348/unix_path.html