aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/make-win-max-msvc.inc
blob: eb03a8280e732b49b3833d969734da11b7d64deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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