Commit 9715f478 authored by Bodo Möller's avatar Bodo Möller
Browse files

-DPLATFORM and -DCFLAGS command line arguments are no longer used.

parent 96821ced
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -730,8 +730,6 @@ sub cc_compile_target
	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";
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ $tmp_def="tmp32";
$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";
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ if ($debug)
	{ $cflags="-g2 -ggdb"; }
else
	{ $cflags="-O3 -fomit-frame-pointer"; }
$dcflags='n'; # Make can't handle -DCFLAGS definition

$obj='.o';
$ofile='-o ';
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ if ($debug)
	{ $cflags="-g2 -ggdb"; }
else
	{ $cflags="-O3 -fomit-frame-pointer"; }
$dcflags='n'; # Make can't handle -DCFLAGS definition

$obj='.o';
$ofile='-o ';