POV-Ray : Newsgroups : povray.off-topic : Make it : Re: Make it Server Time
27 Jul 2024 22:29:59 EDT (-0400)
  Re: Make it  
From: Le Forgeron
Date: 27 May 2016 11:37:03
Message: <5748699f$1@news.povray.org>
Le 27/05/2016 14:39, clipka a écrit :
> Am 27.05.2016 um 12:31 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 ;)
> 

Actually you can ask gcc/g++ to output the dependencies on sources files. Then you can
have them read back by "make".


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.