Page 1 of 1

"make" "make clean" and.............."make build"

Posted: Thu Sep 11, 2008 1:22 pm
by gerardpuducul
Hy all,

In my custom makefile I call other makefile.

If I launch compile with "make" only, compiler only compile file include in my first makefile.. It doesn't see that file have change for other called makefile.

If i Launch "make clean" it clean only file of my first makefile.

This is the reason why I use a "make build" command to recompile all the different makefile. But in Codelite i haven't found the possibility to use more make command in custom build.

Is there this possibility? if not is it possible to add it?

thanks!

Re: "make" "make clean" and.............."make build"

Posted: Thu Sep 11, 2008 2:32 pm
by eranif
Hi,

It sounds like this FR:
http://sourceforge.net/tracker/index.ph ... tid=979963

As a workaround (only available in revision 2060 and north):

You can define a new external tool like this:
Plugins -> External Tools -> Configure External Tools...

Click on 'new'

and fill in the following parameters:
ID: select an free ID
Name: Run make build
Tool path: make
WorkingDirectory: $(WorkspacePath) (or set it the project path, you can see the list of macros from the 'help...' button
Arguments: build
Capture process output: check
Save all files: check

Downside:
The output is directed to the 'Output' tab and not 'Build' tab - this means that you will not get any output parsing.

Eran

Re: "make" "make clean" and.............."make build"

Posted: Mon Sep 15, 2008 12:52 pm
by gerardpuducul
Hi eran,

yes it is exactly the same request.

your proposition working but it isn't very "beautifull"

Do you plan to add make target possibility?

Thanks

Re: "make" "make clean" and.............."make build"

Posted: Mon Sep 15, 2008 1:11 pm
by eranif
gerardpuducul wrote:Do you plan to add make target possibility?
I see it is important to you, so I will increase this FR priority - so it will appear in my filtering ;)

Eran

Re: "make" "make clean" and.............."make build"

Posted: Mon Sep 15, 2008 5:08 pm
by gerardpuducul
THANKS........................................... :o

Re: "make" "make clean" and.............."make build"

Posted: Mon Sep 29, 2008 10:54 am
by eranif
This feature is now implemented and will be part of next development build release

Eran