diff options
Diffstat (limited to 'externals/grill/flext/build/make-win-max-mingw.inc')
-rw-r--r-- | externals/grill/flext/build/make-win-max-mingw.inc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/externals/grill/flext/build/make-win-max-mingw.inc b/externals/grill/flext/build/make-win-max-mingw.inc new file mode 100644 index 00000000..c34825f8 --- /dev/null +++ b/externals/grill/flext/build/make-win-max-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
|