-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
78 lines (59 loc) · 2.49 KB
/
Makefile
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
CCOPTS_PRODUCTION := -I. -O3 -Wall -fPIC -ftree-vectorize -ffast-math
CCOPTS_DEBUG := -I. -g3 -Wall -fPIC -ftree-vectorize -ffast-math
CCOPTS := $(CCOPTS_PRODUCTION)
#CCOPTS := $(CCOPTS_DEBUG)
all: vamp-alsa-host
clean:
rm -f *.o vamp-alsa-host
install: vamp-alsa-host
strip vamp-alsa-host
cp vamp-alsa-host /usr/bin
cp vamp-host /usr/bin
AlsaMinder.o: AlsaMinder.cpp
g++ $(CCOPTS) -c -o $@ $<
RTLSDRMinder.o: RTLSDRMinder.cpp
g++ $(CCOPTS) -c -o $@ $<
PluginRunner.o: PluginRunner.cpp
g++ $(CCOPTS) -c -o $@ $<
Pollable.o: Pollable.cpp
g++ $(CCOPTS) -c -o $@ $<
VampAlsaHost.o: VampAlsaHost.cpp
g++ $(CCOPTS) -c -o $@ $<
TCPListener.o: TCPListener.cpp
g++ $(CCOPTS) -c -o $@ $<
TCPConnection.o: TCPConnection.cpp
g++ $(CCOPTS) -c -o $@ $<
WavFileWriter.o: WavFileWriter.cpp
g++ $(CCOPTS) -c -o $@ $<
vamp-alsa-host.o: vamp-alsa-host.cpp
g++ $(CCOPTS) -c -o $@ $<
vamp-host.o: vamp-host.cpp
g++ $(CCOPTS) -c -o $@ $<
vamp-alsa-host: vamp-alsa-host.o TCPListener.o TCPConnection.o Pollable.o PluginRunner.o VampAlsaHost.o AlsaMinder.o RTLSDRMinder.o WavFileWriter.o
g++ $(CCOPTS) -o $@ $^ -lasound -lm -ldl -lrt -lvamp-hostsdk -lboost_filesystem -lboost_system -lboost_thread
vamp-host: vamp-host.o
g++ -o $@ $^ -lvamp-hostsdk -lsndfile -ldl
vamp-host: vamp-host.o
g++ -o $@ $^ -lvamp-hostsdk -lsndfile -ldl
# DO NOT DELETE THIS LINE -- make depend depends on it.
AlsaMinder.o: AlsaMinder.hpp Pollable.hpp VampAlsaHost.hpp PluginRunner.hpp DevMinder.hpp
AlsaMinder.o: ParamSet.hpp
RTLSDRMinder.o: RTLSDRMinder.hpp Pollable.hpp VampAlsaHost.hpp PluginRunner.hpp DevMinder.hpp
RTLSDRMinder.o: ParamSet.hpp
PluginRunner.o: PluginRunner.hpp ParamSet.hpp Pollable.hpp VampAlsaHost.hpp
PluginRunner.o: AlsaMinder.hpp
TCPConnection.o: TCPConnection.hpp Pollable.hpp VampAlsaHost.hpp
TCPListener.o: TCPListener.hpp Pollable.hpp VampAlsaHost.hpp
TCPListener.o: TCPConnection.hpp
VampAlsaHost.o: VampAlsaHost.hpp Pollable.hpp AlsaMinder.hpp PluginRunner.hpp
VampAlsaHost.o: ParamSet.hpp WavFileWriter.hpp
vamp-alsa-host.o: ParamSet.hpp Pollable.hpp VampAlsaHost.hpp TCPListener.hpp
vamp-alsa-host.o: TCPConnection.hpp PluginRunner.hpp AlsaMinder.hpp
vamp-host.o: system.h
WavFileWriter.o: WavFileWriter.hpp Pollable.hpp VampAlsaHost.hpp
PluginRunner.o: ParamSet.hpp Pollable.hpp VampAlsaHost.hpp AlsaMinder.hpp
PluginRunner.o: PluginRunner.hpp
Pollable.o: VampAlsaHost.hpp
TCPConnection.o: Pollable.hpp VampAlsaHost.hpp
TCPListener.o: Pollable.hpp VampAlsaHost.hpp
WavFileWriter.o: Pollable.hpp VampAlsaHost.hpp