aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/make-win-max-mingw.inc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:01:11 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:01:11 +0000
commite741586389de21efe0dd7fa1b0057c970e4c1a17 (patch)
treea6307013f3366f626a0a2893474e3ba67a7f8614 /externals/grill/flext/build/make-win-max-mingw.inc
parent4deb2e053f989ba20a9864c6171af844141f7f80 (diff)
updated build system for linux
updated make system for BCC build system for flext-based externals updated build system add xcode project comply to build system svn path=/trunk/; revision=2405
Diffstat (limited to 'externals/grill/flext/build/make-win-max-mingw.inc')
-rw-r--r--externals/grill/flext/build/make-win-max-mingw.inc35
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