-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.MAC
64 lines (44 loc) · 1.31 KB
/
Makefile.MAC
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#SWI-DSP makefile
############# YOUR SWI PATH ###############
export swi_dir:= /usr/local/lib/swipl-5.6.57
#Your path to the libpl (not necessary for Linux)
#export libpl_path:= /home/david/master/lib/libpl.so
### QT LIB ### try to remove it
export qt_lib:= -framework QtCore -L$(swi_dir)/lib/i386-darwin8.11.1 -lpl
export qt_include:= -I/Library/Frameworks/QtCore.framework/Versions/4/Headers/
############# PLATFORM DEPENDENCIES ############
export lib_suf = dylib
#lib_suf = dll
export obj_suf:= o
export dynlib_com = -dynamiclib
###################################################
all: swidsp
swidata:
cd swilib && $(MAKE)
cd swidata && $(MAKE)
swiaudio:
cd swilib && $(MAKE)
cd swidata && $(MAKE)
cd swiaudio && $(MAKE)
swivamp::
cd swilib && $(MAKE)
cd swidata && $(MAKE)
cd swiaudio && $(MAKE)
cd swivamp && $(MAKE)
cp swilib/swiaudioblob.dylib swivamp/
cp swilib/blobid.dylib swivamp/
swidsp::
cd swilib && $(MAKE)
cd swidata && $(MAKE)
cd swiaudio && $(MAKE)
cd swivamp && $(MAKE)
cd similarity && $(MAKE)
cp swilib/swiaudioblob.dylib swivamp/
cp swilib/blobid.dylib swivamp/
#install-swiladspa
clean :
cd swilib && rm -f *.o *.$(lib_suf)
cd swidata && rm -f *.o *.$(lib_suf)
cd swiaudio && rm -f *.o *.$(lib_suf)
cd swivamp && rm -f *.o *.$(lib_suf)
cd similarity && rm -f *.o *.$(lib_suf)