aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/win/max/make-mingw.inc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-19 05:04:19 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-19 05:04:19 +0000
commit48c6d0ca4c82a190683380e45821159636080e51 (patch)
tree26f5606b683c0aa998ce68d1670fb5a528755c65 /externals/grill/flext/build/win/max/make-mingw.inc
parentf90c5622c0eb6fbecb35e2d1f9d4f37963d29f89 (diff)
simplified make system
updated make system svn path=/trunk/; revision=2412
Diffstat (limited to 'externals/grill/flext/build/win/max/make-mingw.inc')
-rw-r--r--externals/grill/flext/build/win/max/make-mingw.inc35
1 files changed, 35 insertions, 0 deletions
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