--- makefile.mgw.org	2006-01-10 09:00:00 +0900
+++ makefile.mgw	2009-06-09 12:24:04 +0900
@@ -22,7 +22,7 @@ CFLAGS= -O2 -mtune=pentium2 -march=i386 
 # NOT via -D switches here.
 
 # The executable name of NASM and its options:
-NASM= nasmw
+NASM= nasm
 NAFLAGS= $(NASM_OBJFMT) -I$(srcdir)/
 # object file format specifier for NASM
 # see jsimdext.inc for more details.
@@ -46,7 +46,7 @@ SYSDEPSIMDCHK= jsimdw32.o
 # linker
 LN= $(CC)
 # file deletion command
-RM= del
+RM= rm
 # library (.a) file creation command
 AR= ar rc
 # second step in .a creation (use "touch" if not needed)
@@ -176,7 +176,7 @@ test: cjpeg.exe djpeg.exe jpegtran.exe
 
 jsimdcfg.inc: makecfg.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 	$(CC) $(CFLAGS) $(LDFLAGS) -o makecfg.exe $(srcdir)/makecfg.c $(LDLIBS)
-	.\makecfg.exe > jsimdcfg.inc
+	./makecfg.exe > jsimdcfg.inc
 	$(RM) makecfg.exe
 
 %.o : %.asm
