Multiple Targets

Alvin alvinbeach at
Wed Apr 25 16:42:25 BST 2007

On Wednesday 25 April 2007 12:31:02 hg wrote:
> Am Wednesday 25 April 2007 15:39 schrieb Andreas Pakulat:
> > On 25.04.07 14:57:10, hg wrote:
> > > I'm trying to use a custom makefile in a KDevelop project. The makefile
> > > contains several targets. I haven't found a way to define more than one
> > > of those targets inside KDevelop except using the integrated
> > > commandline.
> > >
> > > Is there a way to define more than one target using the build system
> > > (compiler output hyperlinks ...) in a custum makefile project?
> >
> > Uhm, KDevelop doesn't support any makefile editing through its gui. so
> > you have to open the Makefile yourself and add your target in there.
> Thanks for your response.
> No, I don't want to edit the makefile from inside KDevelop, I rather want
> to build the targets from inside KDevelop.
> Sorry, if I wasn't clear enaugh in my first post: I'm having a hand made
> makefile with lots of targets. I can build those targets just fine on the
> command line using 'make target1' or 'make target2' ....
> What I want is to build different targets from inside KDevelop using the
> hyperlinked output of the compiler message to jump to code in the
> editorpart. I can do that for one target that is defined as default target
> in the project settings. To build another target I know no other way than
> to edit the project settings and change the default target. So I guess I'm
> probably missing something.

Check Build->Build Target. For my KDevelop project, all the targets in my 
custom Makefile are shown and can be selected.

Is this what you are looking for?


More information about the KDevelop mailing list