summaryrefslogtreecommitdiffstats
path: root/src/GvimExt
diff options
context:
space:
mode:
Diffstat (limited to 'src/GvimExt')
-rw-r--r--src/GvimExt/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/GvimExt/Makefile b/src/GvimExt/Makefile
index 798efd204a..043d37da2c 100644
--- a/src/GvimExt/Makefile
+++ b/src/GvimExt/Makefile
@@ -1,11 +1,14 @@
# Makefile for GvimExt, using MSVC
# Options:
# DEBUG=yes Build debug version (for VC7 and maybe later)
+# CPUARG= /arch:IA32/AVX/etc, call from main makefile to set
+# automatically from CPUNR
#
-TARGETOS=WINNT
+TARGETOS = WINNT
+
!ifndef APPVER
-APPVER=5.0
+APPVER = 5.01
!endif
!if "$(DEBUG)" != "yes"
@@ -37,6 +40,9 @@ CPU = i386
!include <Win32.mak>
!endif
+# include CPUARG
+cflags = $(cflags) $(CPUARG)
+
all: gvimext.dll
gvimext.dll: gvimext.obj \