Linux Commands Examples

A great documentation place for Linux commands


framework for writing simple makefiles for complex tasks

see also : make



add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


_kbuild_bins=(kDepIDB kDepPre kmk kmk_ash kmk_chmod kmk_cp kmk_expr kmk_install kmk_md5sum kmk_mv kmk_redirect kmk_rmdir kmk_sleep kmk_time \


kmk and its helper tools are an extension to GNU make to ease writing portable Makefile.

The goals of the kBuild framework:

- Similar behavior cross all supported platforms.
- Flexibility, don’t create unnecessary restrictions preventing ad-hoc solutions.
- Makefile can very simple to write and maintain.

There are four concepts being tried out in the current kBuild incaration:

- One configuration file for a subtree automatically included.
- Target configuration templates as the primary mechanism for makefile simplification.
- Tools and SDKs for helping out the templates with flexibility.
- Non-recursive makefile method by using sub-makefiles.

kBuild does not provide any facilities for checking compiler/library/header configurations, that’s not in its scope. If this is important for your project, check out the autoconf tool in the GNU build system. It is possible to use kBuild together with autoconf if you like, but you might just as well use the full GNU package.

On Debian systems, the kBuild binaries can be found in /usr/bin and its data files in /usr/share/kBuild.


More information about kBuild project can be found at <>.

see also



kBuild was written by Knut St. Osmundsen <bird-kBuild-spam[:at:]anduin[:dot:]net>.

This manual page was written by Daniel Baumann <daniel[:at:]debian[:dot:]org>, for the Debian project (but may be used by others).

How can this site be more helpful to YOU ?

give  feedback