#!/usr/local/bin/perl
#
-# unix.pl - the standard unix makefile stuff.
+# Mingw32.pl -- Mingw32 with GNU cp (Mingw32f.pl uses DOS tools)
#
-# Need the Cygwin32 file utilities
$o='/';
$cp='cp';
-$rm='rm';
+$rm='rem'; # use 'rm -f' if using GNU file utilities
$mkdir='gmkdir';
# gcc wouldn't accept backslashes in paths
$cc='gcc';
if ($debug)
- { $cflags="-g2 -ggdb"; }
+ { $cflags="-DL_ENDIAN -g2 -ggdb"; }
else
- { $cflags="-O3 -fomit-frame-pointer"; }
-$dcflags='n'; # Make can't handle -DCFLAGS definition
+ { $cflags="-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall"; }
$obj='.o';
$ofile='-o ';