aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/make-win-max-mingw.inc
blob: c34825f8385e3545df5cc268f603b63846dfc0fa (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 += -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