hc
2024-03-22 f63cd4c03ea42695d5f9b0e1798edd196923aae6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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