I just finished writing my very first command-line tool in Objective-C, compiled it, and now I'm curious about how one would go about making it executable as a command.
For example, right now to use the program I have to type in ./filename -args
into Terminal. I'd like to be able to only type in filename
and execute the program.
I tried using sudo chmod a+x filename
but no go.