2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-25 06:02:12 +00:00
Files
build/example/make/Jamfile
Rene Rivera 127dce071b TABS, EOLs+EOFs.
[SVN r15177]
2002-09-06 14:40:30 +00:00

23 lines
669 B
Plaintext

# Declare a project id.
project make
# Specify requirements for this project. They will be propagated to child project.
# Use 'bjam -n' to see that MACRO is defined when compiling lib/b.obj
: requirements <define>MACRO
;
# Load a project located at "extlib", and associated with project-id "/extlib".
use-project /extlib : extlib ;
# Construct a target 'a' from a list of sources using the specified rule.
make a
: a.o # Use a target declared in this Jamfile
lib/b.o # Use a target from other Jamfile
@/extlib/c.o # Refer to a library by project-id
: gcc.link ;
# Construct another target.
make a.o : a.cpp : gcc.compile ;