GithubHelp home page GithubHelp logo

ssun3 / zmk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zyga/zmk

0.0 0.0 0.0 464 KB

zmk is a collection of reusable makefiles

License: GNU Lesser General Public License v3.0

Shell 0.79% C++ 1.76% C 4.29% Objective-C 0.59% Awk 0.51% Makefile 87.24% Roff 4.82%

zmk's Introduction

zmk is a collection of reusable makefiles

ZMK is a feature-rich library for writing Makefiles. It provides a good degree of features of the classic auto{conf,make} + libtool tool-chain, while being easier to understand, highly-parallel and, most importantly, devoid of generated cruft that's just unreadable by humans.

include z.mk

Project.Name = hello
Project.Version = 1

hello.Sources = hello.c
$(eval $(call ZMK.Expand,Program,hello))

ZMK integrates nicely with package managers which expect autotools, it comes with a short, readable configuration script that accepts many of the same options that autoconf would expose. It's just a make configure away.

Features

  • Describe programs, test programs, static libraries, shared libraries, development headers, manual pages and more
  • Use familiar targets like "all", "check", "install", "uninstall" and "clean"
  • Works out of the box on popular distributions of Linux and MacOS
  • Friendly to distribution packaging expecting autotools
  • Compile natively with gcc, clang, tcc or the open-watcom compilers
  • Cross compile with gcc and open-watcom
  • Efficient and incremental, including the install target

Examples

Please browse the examples present in the git repository. If you had installed zmk through the Debian package, the examples are added to the zmk-doc package. Use dpkg -L zmk-doc to find them.

Stability Guarantee

ZMK is a responsible library. The project promises not to introduce backwards-incompatible changes in normal circumstances. ZMK is implemented as a Make library, which effectively means there are only make rules and variables. ZMK considers all capitalized symbols, such as ZMK.Program to be the public API covered by the stability guarantee. Internal symbols either start with a lower case character, or have one immediately following a dot, for example zmk.foo or ZMK.foo.

zmk's People

Contributors

zyga avatar edwardbetts 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.