Add compilation time cost for each source file in make file

Encountered an issue of extreme long time compiling days ago, so we tried to add a time cost output in the Makefile to locate what on earth happened during the compilation.

There are two Makefiles need to be modified, one is Linux based Makefile, another is Android based Makefile

Linux Makefile:


Test Makefile:

Android Makefile:
You need to modify NDK common make file,, to archive this, it’s locating at /path-to-ndk/android-ndk-r7c/build/core/

Test Makefile:

Leave a comment

Your email address will not be published. Required fields are marked *