ubuntu - Using Existing Android.mk file to compile library for Linux -


i have source code(c,c++) directory android.mk file in it. when compiled ndk, creates xyz.so file used android application.

however want write similar app intended run on ubuntu machine , want same above source code (i.e compile lib xyz.so ubuntu machine).

is there way can reuse android.mk file generate xyz.so ubuntu platform?


Comments