aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/win/max
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/build/win/max')
-rw-r--r--externals/grill/flext/build/win/max/config-mingw.def17
-rw-r--r--externals/grill/flext/build/win/max/config-msvc.def17
-rw-r--r--externals/grill/flext/build/win/max/make-mingw.inc35
-rw-r--r--externals/grill/flext/build/win/max/make-msvc.inc35
4 files changed, 104 insertions, 0 deletions
diff --git a/externals/grill/flext/build/win/max/config-mingw.def b/externals/grill/flext/build/win/max/config-mingw.def
new file mode 100644
index 00000000..d6bbd4dc
--- /dev/null
+++ b/externals/grill/flext/build/win/max/config-mingw.def
@@ -0,0 +1,17 @@
+# where are the Max/MSP SDK header files?
+# you should have the latest version!
+MAXSDKPATH="c:/data/prog/audio/maxmspsdk_win/4.5 headers/c74support"
+
+# where should the external be installed?
+INSTPATH="%CommonProgramFiles%/Cycling '74/externals/flext"
+
+# where do the flext headers and libraries reside?
+FLEXTPATH="%CommonProgramFiles%/Cycling '74/flext"
+
+# where should the external be built?
+# (path for temporary files)
+OUTPATH=max-mingw
+
+# some user-definable flags
+# (check if they match your system!)
+OFLAGS=-O2 -march=pentium4 -msse
diff --git a/externals/grill/flext/build/win/max/config-msvc.def b/externals/grill/flext/build/win/max/config-msvc.def
new file mode 100644
index 00000000..a7db2d2c
--- /dev/null
+++ b/externals/grill/flext/build/win/max/config-msvc.def
@@ -0,0 +1,17 @@
+# where are the Max/MSP SDK header files?
+# you should have the latest version!
+MAXSDKPATH="c:\data\prog\audio\maxmspsdk_win\4.5 headers\c74support"
+
+# where should the external be installed?
+INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
+
+# where do the flext headers and libraries reside?
+FLEXTPATH="%CommonProgramFiles%\Cycling '74\flext"
+
+# where should the external be built?
+# (path for temporary files)
+OUTPATH=max-msvc
+
+# some user-definable flags
+# (check if they match your system!)
+OFLAGS=/G6 /Ox /arch:SSE
diff --git a/externals/grill/flext/build/win/max/make-mingw.inc b/externals/grill/flext/build/win/max/make-mingw.inc
new file mode 100644
index 00000000..c34825f8
--- /dev/null
+++ b/externals/grill/flext/build/win/max/make-mingw.inc
@@ -0,0 +1,35 @@
+DEFS += -DFLEXT_SYS=1
+CFLAGS += -fpack-struct=2
+
+INCPATH += -I$(MAXSDKPATH)/max-includes -I$(MAXSDKPATH)/msp-includes
+LIBPATH += -L$(MAXSDKPATH)/max-includes -L$(MAXSDKPATH)/msp-includes
+
+# these are both in PDPATH
+LIBS += -lmaxapi -lmaxaudio
+
+EXT=mxe
+
+#########################################
+
+ifdef SHARED
+# --- shared ---
+
+elseifdef THREADED
+# --- static multi-threaded ---
+
+ifdef DEBUG
+LIBS += -lflext_td-maxwin
+else
+LIBS += -lflext_t-maxwin
+endif
+
+else
+# --- static single-threaded ---
+
+ifdef DEBUG
+LIBS += -lflext_d-maxwin
+else
+LIBS += -lflext-maxwin
+endif
+
+endif
diff --git a/externals/grill/flext/build/win/max/make-msvc.inc b/externals/grill/flext/build/win/max/make-msvc.inc
new file mode 100644
index 00000000..636029fa
--- /dev/null
+++ b/externals/grill/flext/build/win/max/make-msvc.inc
@@ -0,0 +1,35 @@
+DEFS=$(DEFS) /DFLEXT_SYS=1
+CFLAGS=$(CFLAGS) /Zp2
+
+INCPATH=$(INCPATH) /I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes
+LIBPATH=$(LIBPATH) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\msp-includes
+
+# these are both in MAXSDKPATH
+LIBS=$(LIBS) maxapi.lib maxaudio.lib
+
+EXT=mxe
+
+#########################################
+
+!ifdef SHARED
+# --- shared ---
+
+!elseifdef THREADED
+# --- static multi-threaded ---
+
+!ifdef DEBUG
+LIBS=$(LIBS) flext_td-maxwin.lib
+!else
+LIBS=$(LIBS) flext_t-maxwin.lib
+!endif
+
+!else
+# --- static single-threaded ---
+
+!ifdef DEBUG
+LIBS=$(LIBS) flext_d-maxwin.lib
+!else
+LIBS=$(LIBS) flext-maxwin.lib
+!endif
+
+!endif