Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2007-04-18 10:42:49


Hi,

How do I convert the following Makefile to a Jamfile? Note that `date`
and `cat` are shell-commands.

all: libversion.a

build.h:
        rm -f build.h
        echo >> build.h '#define BUILD_DATE "'`date`'"'
        echo >> build.h '#define BUILD_VERSION "'`cat VERSION`'"'

libversion.a: version.cpp build.h
        ar rs libversion.a version.o

Thanks,

Andrej


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk