aboutsummaryrefslogtreecommitdiff
path: root/load/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-10 18:20:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-12 12:27:33 +0300
commitbfd63c8ec0e060c8c28bd3fc6acf9af4460bc208 (patch)
treea215028a9b0f47d8ab647786b217e7648d691535 /load/buildfile
parentfcc9a368646a2a71c26a5e2935d6595587857f67 (diff)
Make use of wildcards in buildfiles
Diffstat (limited to 'load/buildfile')
-rw-r--r--load/buildfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/load/buildfile b/load/buildfile
index e377a8e..6852871 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -9,11 +9,8 @@ import libs += libbpkg%lib{bpkg}
include ../libbrep/
-exe{brep-load}: \
-{ cxx}{ load } \
-{hxx ixx cxx}{ load-options } \
-{hxx cxx}{ types-parsers } \
-../libbrep/lib{brep} $libs
+exe{brep-load}: {hxx ixx cxx}{* -load-options} {hxx ixx cxx}{load-options} \
+ ../libbrep/lib{brep} $libs
# Generated options parser.
#
@@ -28,5 +25,5 @@ if $cli.configured
# Include generated cli files into the distribution.
#
- cli.cxx{load-options}: dist = true
+ cli.cxx{*}: dist = true
}