Announcing ‘build’, Auto-Configuration In 1000 Lines Of Makefile

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.cppPRODUCTS=hello.exeCONFIG= <stdio.h> <iostream> clearenv libmTESTS=productinclude $(BUILD)rules.mk


Share on Google+

Read more of this story at Slashdot.

Clip to Evernote

Leave a Reply

Your email address will not be published. Required fields are marked *