MaKL

A simple and light framework for building multi-platform C projects, purely based on the Bourne Shell and GNU Make.
Download

MaKL Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • KoanLogic Srl
  • Publisher web site:
  • http://www.koanlogic.com/libu/index.html

MaKL Tags


MaKL Description

A simple and light framework for building multi-platform C projects, purely based on the Bourne Shell and GNU Make. MaKL is a simple and light framework for building multi-platform C projects, purely based on the Bourne Shell and GNU Make. It is much easier to install and use than other typical building systems, while maintaining the essential functionality.It is ideal for embedded systems due to its cross-compilation, multiplatform toolchaining mechanisms, and minimal external dependencies. KLone is an example of such usage.Prepare for Installation$ ./configure --gnu_make=/path/to/gnu/make --prefix=/path/to/makl/dest/dirWhile '--gnu_make=...' parameter is mandatory and must be set to the exact path of an installed GNU make executable (perhaps the same used in the toolchain step, '--prefix=...' is optional and defaults to '/usr/local'. MaKL template libraries (i.e. mk and cf modules) will be placed into $(prefix)/share/makl-$(MAKL_VERSION). The 'maklsh' executable and its related symlinks ('makl', 'maklconf' and 'maklhelp') will reside into $(prefix)/bin/Installation# make installadd $(prefix)/bin/ to your PATH env variable and you will be able to use the'makl' and 'maklconf' commands to build and configure your C/C++ projects.Supplementary StepsIf you need to override system-wide settings, perhaps in order to use a specific MaKL version you can create a '.maklrc' file containing the appropriate variables and let 'maklsh' use them. Suppose you have MaKL installed at /share/makl-1.5.0/ and you want to use a newer MaKL version which you have downloaded and installed in your home directory. Then do the following:$ makl -C /usr/local/share/makl-1.5.0/ envPick up a shell : zshPick a suitable environment file : /home/me/.maklrcthen open '/home/me/.maklrc' in your favourite editor (mine is vim :-)) and set the variables to match your "private" MaKL setting:$ vim /home/me/.maklrc====MAKL_VERSION="1.6.0"export MAKL_VERSIONMAKL_DIR="/home/tho/work/share/makl-1.6.0"export MAKL_DIRMAKEFLAGS="-I ${MAKL_DIR}/mk"export MAKEFLAGS# Set this to expand the config scripts searchMAKL_CF_SCRIPTS="./myproject-configure"export MAKL_CF_SCRIPTS==== What's New in This Release: · This release completes the revamp of the makl* tools, adds Unix man pages for all makl* commands, supports Solaris/GCC and DragonFly BSD, simplifies the auto-configuration procedure, supports the Intel C/C++ compiler on Linux, produces dynamic libraries (DLLs) on Windows via MinGW and Cygwin, sets the OBJDIR variable to prog and lib templates for multiple target builds, and adds a host of --makl-* commandline flags to maklsh.


MaKL Related Software