blob: 560c6ebb5bb2416a38ce973497fa52aa4d22ab9b (
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
36
37
38
39
40
41
42
43
|
DEFS += -DFLEXT_SYS=2
INCPATH += -I$(PDPATH)/src
LIBPATH += -L$(PDPATH)/bin
LDFLAGS += -bundle -bundle_loader $(PDBIN)
LIBS +=
EXT=pd_darwin
#########################################
ifdef SHARED
# --- shared ---
ifdef DEBUG
LIBS += -lflext_d
else
LIBS += -lflext
endif
else
ifdef THREADED
# --- static multi-threaded ---
ifdef DEBUG
LIBS += $(FLEXTPATH)/libflext_td.a
else
LIBS += $(FLEXTPATH)/libflext_t.a
endif
else
# --- static single-threaded ---
ifdef DEBUG
LIBS += $(FLEXTPATH)/libflext_d.a
else
LIBS += $(FLEXTPATH)/libflext.a
endif
endif
endif
|