Skip to content
/ aimake Public
forked from aaashun/aimake

aimake is a mini building tool based on gnu make, it's easy to cross compile shared library or static library for ios, android, mingw, linux, darwin.

License

Notifications You must be signed in to change notification settings

reilf/aimake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aimake is a mini building tool based on gnu make. it's easy to cross compile shared library or static library for:
    iOS - i386, armv7, armv7s, all code in a fat static library
    darwin
    android - arm5te, armv6-vfp, armv7a-vfpv3, armv7a-neon, mips, i686. specified by argument 'ANDABI'
    linux - i686, x86_64
    windows - i686, x86_64, specified by argument 'MINGWABI'

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
    (4) [optional] mingw-w64, it's required if you need to build your project for windows

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

About

aimake is a mini building tool based on gnu make, it's easy to cross compile shared library or static library for ios, android, mingw, linux, darwin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 85.6%
  • Shell 14.4%