2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Make it possible to compile a given source file by giving its object file name as a target.

[SVN r12443]
This commit is contained in:
Dave Abrahams
2002-01-22 13:53:04 +00:00
parent f3e5838541
commit 7e0f5c7c07
2 changed files with 8 additions and 0 deletions

View File

@@ -967,6 +967,10 @@ rule Object
type-DEPENDS obj : $(<) ;
set-target-variables $(<) ;
# Make it possible to compile a given source file by giving its
# object file name as a target.
type-DEPENDS $(<:G=) : $(<) ;
# locate object and search for source, if wanted
Clean clean : $(<) ;

View File

@@ -967,6 +967,10 @@ rule Object
type-DEPENDS obj : $(<) ;
set-target-variables $(<) ;
# Make it possible to compile a given source file by giving its
# object file name as a target.
type-DEPENDS $(<:G=) : $(<) ;
# locate object and search for source, if wanted
Clean clean : $(<) ;