[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Makefiles - how to create?
From: Waldo Bastian <bastian () kde ! org>
Date: 2001-05-01 5:52:40
[Download RAW message or body]
On Monday 30 April 2001 16:09, Tjabo Kloppenburg wrote:
> hi,
>
> one of my bigger problems when coding kde programs is to find an appropiate
> Makefile to compile the program. I'm extending - for example - a program
> from Antonio Larrosa's KDE2 tutorial. The Makefile has been generated by a
> configure script, and has 22kB.
>
> Now I want to implement a new dialog class (configDlg) - how can I know
> which libraries I've got to link and so on? Is there a tool somewhere to
> scan my source code and generate a Makefile?
>
> Or what's your way to generate a Makefile?
automake and autoconf are your friend *cough*. See e.g. the application
template in kdesdk. You change the Makefile.am file and then automake and
autoconf turn it into a 22Kb Makefile.
Cheers,
Waldo
--
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic