I have written a console program in C named main.c.
I want to turn it into an application, so that using a Makefile and 'make' and 'make install' commands one is able to install that in his/her computer.
Any ideas how to do that? I have searched tutorials for making the Makefile but they just tell me the way to compile the source files, not "install" them.
PS, I use Fedora 15 and Code::Blocks Ide, if that is of any help.
PPS : I have seen that copying the executable produced by gcc to /usr/bin directory does has the same result as installing. Is that what 'make install' command does?
Bookmarks