Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-06-04 18:34:54 -0700 (Sat, 04 Jun 2005)
Revision: 1095
Log message:
Added the vmount(src, dst) function, which makes a "virtual mount" of
the src directory over the dst directory.
The addresses the much-requested feature of being able to build multiple
versions of a project.
The basic idea is, if you want multiple versions, you put them in
different directories, and use vmount to link back to the source code.
For example, suppose you have a "src" directory containing all your
source files, and you want to build some special versions.
CREATE_SUBDIRS = true # automatically create subdirectories
.SUBDIRS: i386
CFLAGS += -f386 # add whatever options you want
vmount(../src, .) # mount the src directory over the current directory
include OMakefile # build the project as normal