Files
device_rockchip/rk3308/aispeech-2mic-32bit/dds_client/aimake/README
Hans Yang 62dc3fdbbc rk3308: optimize directory structure and remove unuse files
Change-Id: I11eaf882a76507da8eaef2fa03cdc2b7b97e37a1
Signed-off-by: Hans Yang <yhx@rock-chips.com>
2018-08-23 21:38:32 +08:00

28 lines
1.3 KiB
Plaintext
Executable File

aimake is a mini building tool based on gnu make. it's easy to cross compile shared library or static library for ios and android.
it's green, you don't need to install it
1. requirements:
(1) gnu make, aimake was based on gnu make
(2) [optional] ios sdk, it's required if you need to build your project for ios
(3) [optional] android ndk, it's required if you need to build your project for android
2. how to use aimake?
(1) copy 'aimakefile' to your project folder
(2) modify variables in aimakfile for your compilation requirement
(4) run 'aimake' (aimake is a soft link pointing to aimake.sh)
3. how to support more target platforms
the sub-folder(ios, android) means supported target platform, and the name of sub-folder is some as target platform's name.
Every sub-folder must contains the following files:
init.mk -- initialize variables of compilation environment, e.g. CC, CXX, CFLAGS, CXXFLAGS
build_executable.mk -- specify that compile the project into executable
build_static_library.mk -- specify that compile the project into static library
build_shared_library.mk -- specify that compile the project into shared library
build_all.mk -- contains explicit rules and goals for gnu make
just enjoy it
aaashun@gmail.com
2011-09-29