Creating setup files in Linux
This is a topic on Creating setup files in Linux within the Programmers Corner forums, part of the Technology category; I have written a console program in C named main.c.
I want to turn it into an application, so that ...
-
Tech2 Members
Creating setup files in Linux
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?
-
Moderator
Re: Creating setup files in Linux
Is that what 'make install' command does?
Yes. Also, adds cronjob entries, adds entries to rc.d/upstart incase they are services et al
My Gear :HP Envy 14 / i5 520M / 8GB / 500GB HDD / 1TB Seagate GoFlex | Google Cr-48 | D-Link DGL 4500 | Denon AH-C360| Klipsch Image S4a | Fiio E5 | iPhone 3GS| Galaxy S II | Dell U2312HM| X-tatic 5.1 Gaming Headset | Logitech G400 Optical Mouse
Similar Threads
-
By pragith.net in forum General Discussions
Replies: 8
Last Post: 10-26-2006, 02:13 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules