aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/make-win-max-msvc.inc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-17 05:01:18 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-17 05:01:18 +0000
commitf688c9de1efee2e09fbb9b39a715853b23fadcb3 (patch)
tree406b8c29f9957621fa82bfe7415a33bc0c8240ab /externals/grill/flext/build/make-win-max-msvc.inc
parent1be9429281d7eb7a0cae509b23ed4482768a68f1 (diff)
global system lock functions
fixed a thread sensitive spot fix for _long_ attribute dialogs build system for flext-based externals typo fixed in attribute editor atom outlet functions svn path=/trunk/; revision=2394
Diffstat (limited to 'externals/grill/flext/build/make-win-max-msvc.inc')
-rw-r--r--externals/grill/flext/build/make-win-max-msvc.inc35
1 files changed, 35 insertions, 0 deletions
diff --git a/externals/grill/flext/build/make-win-max-msvc.inc b/externals/grill/flext/build/make-win-max-msvc.inc
new file mode 100644
index 00000000..eb03a828
--- /dev/null
+++ b/externals/grill/flext/build/make-win-max-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 FLEXT_SHARED
+# --- shared ---
+
+!elseifdef FLEXT_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