Problem: Cannot create map file with MinGW.
Solution: Add support for $MAP. (Ken Takata, closes #3460)
# set to yes for a debug build
DEBUG=no
+# set to yes to create a mapfile
+# MAP=yes
+
# set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization
OPTIMIZE=MAXSPEED
LIB += -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic
endif
+ifeq (yes, $(MAP))
+LFLAGS += -Wl,-Map=$(TARGET).map
+endif
+
all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll
vimrun.exe: vimrun.c
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 422,
/**/
421,
/**/