|
![](/i/fill.gif) |
Am 27.05.2016 um 15:23 schrieb scott:
>>>> I can't believe I've just spent an entire day writing Makefiles... At
>>>> this rate, it would almost be simpler to just write a loop to compile
>>>> every source file in every directory and then link them all! But, alas,
>>>> it turns out that you have to actually link them in the right order, or
>>>> it doesn't work.
>>>
>>> Isn't there some tool to do that automatically?
>>
>> Absolutely. It is called "make", and needs a Makefile to work ;)
>
> Oh, what you can use make to make a makefile? Sounds like some IOCCC
> entry...
Ah, I thought you meant the "write a loop to compile every source
file..." part.
Yeah, there are tools out there that automate makefile making. Automake
is one of them.
In a nutshell, it boils down to writing a convoluted Automake script to
avoid writing a convoluted Makefile.
On the upside, you don't have to worry about tab characters anymore. Yay!
Post a reply to this message
|
![](/i/fill.gif) |