diff options
Diffstat (limited to 'externals/grill/flext/buildsys/win')
9 files changed, 30 insertions, 3 deletions
diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc index 43884e15..063bc058 100644 --- a/externals/grill/flext/buildsys/win/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc @@ -6,7 +6,7 @@ TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT) ############################################## -CFLAGS += +CFLAGS += -mms-bitfields LDFLAGS += -shared ############################################## diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc index cf5dc17a..6d4e46f7 100644 --- a/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc +++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw.inc @@ -1,5 +1,5 @@ DEFS += -DFLEXT_SYS=1 -CFLAGS += -fpack-struct=2 +CFLAGS += -fpack-struct=2 -D_WIN32_WINNT=0x501 INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes LIBPATH += -L$(MAXSDKPATH)/max-includes -L$(MAXSDKPATH)/msp-includes diff --git a/externals/grill/flext/buildsys/win/max/nmake-msvc.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc index 02cf3cf5..94cdc32e 100644 --- a/externals/grill/flext/buildsys/win/max/nmake-msvc.inc +++ b/externals/grill/flext/buildsys/win/max/nmake-msvc.inc @@ -1,5 +1,5 @@ DEFS=$(DEFS) /DFLEXT_SYS=1 -CFLAGS=$(CFLAGS) /Zp2 +CFLAGS=$(CFLAGS) /Zp2 /D_WIN32_WINNT=0x501 INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes LIBPATH=$(LIBPATH) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\msp-includes 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 |