TOOLS = $(TOOLS[1]) ; project-root ; # bring in rules for testing import testing ; lib mylib : lib.cpp ; compile foo.cpp : : compile ; compile-fail foo.cpp : NOCOMPILE : nocompile ; link foo.cpp mylib : : link ; link-fail foo.cpp mylib : NOLINK : nolink ; run foo.cpp mylib : # args : # input-files : RUN : run ;