aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/win/pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/win/pd')
-rw-r--r--externals/grill/flext/buildsys/win/pd/bmake-bcc.inc6
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-bcc.def3
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-mingw.def3
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-msvc.def3
-rw-r--r--externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc6
-rw-r--r--externals/grill/flext/buildsys/win/pd/nmake-msvc.inc6
6 files changed, 27 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc b/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc
index 3b257b0d..c24b7723 100644
--- a/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc
+++ b/externals/grill/flext/buildsys/win/pd/bmake-bcc.inc
@@ -1,5 +1,11 @@
DEFS=$(DEFS) /DFLEXT_SYS=2
+!ifdef WINNT
+DEFS=$(DEFS) /D_WIN32_WINNT=0x500
+!endif
+
+##############################################
+
INCPATH=$(INCPATH) -I$(PDPATH)\src
# these are both in FLEXTPATH
diff --git a/externals/grill/flext/buildsys/win/pd/config-bcc.def b/externals/grill/flext/buildsys/win/pd/config-bcc.def
index e9d97eb8..54e8397d 100644
--- a/externals/grill/flext/buildsys/win/pd/config-bcc.def
+++ b/externals/grill/flext/buildsys/win/pd/config-bcc.def
@@ -33,3 +33,6 @@ UFLAGS=
# user defined optimization flags
# (check if they match your system!)
OFLAGS=-6 -O2 -OS -ff -d
+
+# comment if you want to compile for Windows 95/98/ME
+WINNT=1
diff --git a/externals/grill/flext/buildsys/win/pd/config-mingw.def b/externals/grill/flext/buildsys/win/pd/config-mingw.def
index a4ae2f2a..bed53e35 100644
--- a/externals/grill/flext/buildsys/win/pd/config-mingw.def
+++ b/externals/grill/flext/buildsys/win/pd/config-mingw.def
@@ -32,3 +32,6 @@ UFLAGS=-msse -mfpmath=sse -ffast-math
OFLAGS=-O3
# optimizations for Pentium 4
OFLAGS+=-march=pentium4
+
+# comment if you want to compile for Windows 95/98/ME
+WINNT=1
diff --git a/externals/grill/flext/buildsys/win/pd/config-msvc.def b/externals/grill/flext/buildsys/win/pd/config-msvc.def
index 9db081e4..49137ef5 100644
--- a/externals/grill/flext/buildsys/win/pd/config-msvc.def
+++ b/externals/grill/flext/buildsys/win/pd/config-msvc.def
@@ -38,6 +38,9 @@ OFLAGS=/Ox
# optimizations for Pentium 4
OFLAGS=$(OFLAGS) /G6 /arch:SSE
+# comment if you want to compile for Windows 95/98/ME
+WINNT=1
+
# uncomment to link against dynamic C runtime libraries
# (don't use this if you want to distribute the built product)
#DYNAMIC=1
diff --git a/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc
index 1002a914..a3f51aab 100644
--- a/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc
+++ b/externals/grill/flext/buildsys/win/pd/gnumake-mingw.inc
@@ -1,5 +1,11 @@
DEFS += -DFLEXT_SYS=2
+ifdef WINNT
+CFLAGS += -D_WIN32_WINNT=0x500
+endif
+
+##############################################
+
INCPATH += -I$(PDPATH)/src
LIBPATH += -L$(PDPATH)/bin
diff --git a/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc b/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc
index 75a99d4b..cbe3c5bc 100644
--- a/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc
+++ b/externals/grill/flext/buildsys/win/pd/nmake-msvc.inc
@@ -1,5 +1,11 @@
DEFS=$(DEFS) /DFLEXT_SYS=2
+!ifdef WINNT
+DEFS=$(DEFS) /D_WIN32_WINNT=0x500
+!endif
+
+##############################################
+
INCPATH=$(INCPATH) /I$(PDPATH)\src
LIBPATH=$(LIBPATH) /LIBPATH:$(PDPATH)\bin