Skip to content

Commit e6580ee

Browse files
committed
[build] write targets like "all:" that delegate to p-all, j-all etc. (whatever is available)
1 parent 8f7df78 commit e6580ee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Configure.pl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,15 @@
252252
);
253253
}
254254

255+
# write post-amble
256+
257+
my @prefixes = sort map substr($_, 0, 1), keys %backends;
258+
print $MAKEFILE "\n# Makefile code generated by Configure.pl:\n";
259+
260+
for my $t (qw/all clean test qregex-test/) {
261+
print $MAKEFILE "$t: ", join(' ', map "$_-$t", @prefixes), "\n";
262+
}
263+
255264
close $MAKEFILE
256265
or die "Error while writing to 'Makefile': $!";
257266

0 commit comments

Comments
 (0)