Hi Guys
I am a beginner to perl. i have a make file which takes arguments and creates a exe file but I wonder how could i pass arguments to the makefile
I found a small snippet of code. could someone help me in explaining me how did it do
I am a beginner to perl. i have a make file which takes arguments and creates a exe file but I wonder how could i pass arguments to the makefile
I found a small snippet of code. could someone help me in explaining me how did it do
Code:
$gmakeopt;
$outputdir .= "_$random_seed" if($random_seed ne "none");
unless (-d $outputdir) {
mkdir($outputdir, 0777);
}
if($random_seed ne "none")
{
system "gmake RANDOM_SEED=$random_seed $gmakeopt";
}
else
{
system "gmake $gmakeopt";
}