GithubHelp home page GithubHelp logo

adityavs / aimake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaashun/aimake

0.0 1.0 0.0 229 KB

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: Other

Shell 14.42% Makefile 85.58%

aimake's Introduction

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

[email protected]
2011-09-29

aimake's People

Contributors

aaashun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.