Slashdot Mirror


Announcing 'build', Auto-Configuration In 1000 Lines Of Makefile (github.com)

Christophe de Dinechin created the XL programming language -- and as descubes he's also Slashdot reader #35,093. Today he shares his latest project, a simple makefile-based build system that he's split from ELFE/XL: Most open-source projects use tools such as autoconf and automake. For C and C++ projects, build is a make-based alternative that offers auto-configuration, build logs, colorization, testing and install targets, in about 1000 lines of makefile. A sample makefile looks like this:

BUILD=./
SOURCES=hello.cpp
PRODUCTS=hello.exe
CONFIG= <stdio.h> <iostream> clearenv libm
TESTS=product
include $(BUILD)rules.mk


2 of 103 comments (clear)

  1. Re:Wrong tool! Focus on what we need! by Chris+Mattern · · Score: 4, Funny

    but... but... colorization

    The code is closer to the original artistic vision when it's left in the original black and white.

  2. Re: A weekend project? by Anonymous Coward · · Score: 0, Funny

    Because the author is a transgender person, so we have to support him and/or her or the SJWs will take away our computers.