From: | |
Date: | 11 Feb 2001 at 14:48:47 |
Subject: | Re: Help with gcc |
Hello Shinda
On 10-Feb-01, you wrote:
>> What are makefiles and how do I use them?
>
> You create them via configure. Read the docs section on creating them
> since I have not used it yet.
This is a misleading answer.
configure scripts are distributed with UNIX sources to faciliate the
auto-generation of makefiles for the different platforms that program may
be compiled on.
Makefiles on the other hand are files that allow you to limit the
compilation of a project to only those files that have been altered since
the last compilation. So long as you have a properly constructed "Makefile"
in the current directory, the running of the "make" executable will ensure
correct compilation.
There is no need to write an autoconf/automake script to generate a
Makefile. Unless, you are writing a project that needs to be recompiled on
different platforms (and those platforms have differences that will affect
the compilation of you program.), autoconf/automake is a waste of time.
Regards
Steve
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981903012/
---------------------------------------------------------------------_->