Is there any way to tell Android.mk to compile all cpp's recursively?

Hi,

Each time I create a new cpp, I have to add it to Android.mk to make sure it gets compiled. This is a manual, very slow process… is there any way to tell Android.mk to compile all cpp files recursively in the Classes folder?

Thanks.

JB

May be you can use some linux command to list all cpp files and add correct prefix to create a Android.mk.

thanks for the advise Minggo. But anyway, it would be cool if the framework could provide some kind of batch that automatically generates the android.mk for a project, or something like that. Now it seems like each developer has to find each own solution.

But different developers may have different directory structures.
So it is hard to write a tool.