KDevelop uses the GNU autotools framework for Makefiles. i.e. it uses automake/autoconf etc. just like any other open source s/w would use.
The only file that you need to create or edit is the Makefile.am file.. all other files are auto generated. So even if you see a 500 line Makefile, it is probably generated from a 10 line Makefile.am
The advantage of using these Makefiles over your own is that these are designed to be poratable across numerous platforms. Your code can be made to compile on any OS, under any h/w.
It takes some time to get used to the autotools framework, but once you get used to it, you'll never want to use anything else!!!
Sarang
On Saturday 28 September 2002 2:49 am, Abhijeet wrote:
Hi
I have used kdevelop for sometime. But I havent figured our the Makefiles part
Even for a small program like "Hello World" It makes a Makefile of some 100 lines.
Can someone having expertise on Kdevelop please explain me why does it require so long makefiles and what all things really go inside that makefile. How is it beneficial to my hand edited makefile.
I tried figuring it out. But it was way too cryptic. I find it much better to hand edit my own Makefile.
regards Abhijeet