local($target,$source,$ex_flags)=@_;
local($ret);
- # EAY EAY
- $ex_flags.=' -DCFLAGS="\"$(CC) $(CFLAG)\"" -DPLATFORM="\"$(PLATFORM)\""' if ($source =~ /cversion/ and $dcflags ne 'n');
$target =~ s/\//$o/g if $o ne "/";
$source =~ s/\//$o/g if $o ne "/";
$ret ="$target: \$(SRC_D)$o$source\n\t";
$inc_def="inc32";
#enable max error messages, disable most common warnings
$cflags="-DWIN32_LEAN_AND_MEAN -j255 -w-aus -w-par -w-inl -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN ";
-$dcflags='n';
if ($debug)
{
$cflags.="-Od -y -v -vi- -D_DEBUG";
{ $cflags="-g2 -ggdb"; }
else
{ $cflags="-O3 -fomit-frame-pointer"; }
-$dcflags='n'; # Make can't handle -DCFLAGS definition
$obj='.o';
$ofile='-o ';
{ $cflags="-g2 -ggdb"; }
else
{ $cflags="-O3 -fomit-frame-pointer"; }
-$dcflags='n'; # Make can't handle -DCFLAGS definition
$obj='.o';
$ofile='-o ';