aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/win/max
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/win/max')
-rw-r--r--externals/grill/flext/buildsys/win/max/config-mingw.def17
-rw-r--r--externals/grill/flext/buildsys/win/max/config-msvc.def17
-rw-r--r--externals/grill/flext/buildsys/win/max/make-mingw.inc10
-rw-r--r--externals/grill/flext/buildsys/win/max/make-msvc.inc10
4 files changed, 54 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/win/max/config-mingw.def b/externals/grill/flext/buildsys/win/max/config-mingw.def
new file mode 100644
index 00000000..5bd543df
--- /dev/null
+++ b/externals/grill/flext/buildsys/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/buildsys/win/max/config-msvc.def b/externals/grill/flext/buildsys/win/max/config-msvc.def
new file mode 100644
index 00000000..ae313e14
--- /dev/null
+++ b/externals/grill/flext/buildsys/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/buildsys/win/max/make-mingw.inc b/externals/grill/flext/buildsys/win/max/make-mingw.inc
new file mode 100644
index 00000000..baa5c9d7
--- /dev/null
+++ b/externals/grill/flext/buildsys/win/max/make-mingw.inc
@@ -0,0 +1,10 @@
+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
diff --git a/externals/grill/flext/buildsys/win/max/make-msvc.inc b/externals/grill/flext/buildsys/win/max/make-msvc.inc
new file mode 100644
index 00000000..e3bd547e
--- /dev/null
+++ b/externals/grill/flext/buildsys/win/max/make-msvc.inc
@@ -0,0 +1,10 @@
+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