better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@638 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
5d1cbf3bdf
commit
b2db4f0ba7
2 changed files with 15 additions and 1 deletions
12
Makefile.pl
12
Makefile.pl
|
|
@ -95,7 +95,17 @@ if(-f "./pl/ostype/${target}.pl"){
|
|||
|
||||
require("./pl/rules.pl");
|
||||
|
||||
print("Target: " . $target . "\n");
|
||||
print("Target : " . $target . "\n");
|
||||
|
||||
my @l = ();
|
||||
foreach my $e (param_list()){
|
||||
if(($e eq "vulkan-string-helper") and param_get("vulkan")){
|
||||
push(@l, $e);
|
||||
}elsif(not($e eq "vulkan-string-helper") and param_get($e)){
|
||||
push(@l, $e);
|
||||
}
|
||||
}
|
||||
print("Enabled: " . join(" ", @l) . "\n");
|
||||
|
||||
open(OUT, ">", "Makefile");
|
||||
print(OUT "CC = ${cc}\n");
|
||||
|
|
|
|||
|
|
@ -66,4 +66,8 @@ sub param_get {
|
|||
}
|
||||
}
|
||||
|
||||
sub param_list {
|
||||
return sort(keys(%params));
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue