-
Notifications
You must be signed in to change notification settings - Fork 75
/
Makefile
37 lines (28 loc) · 642 Bytes
/
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
FFTW = fftw-3.3.4
all: .deps fftw decode ops utils
.deps:
sudo apt-get install libsamplerate-dev -y
pip install -r requirements.txt
.PHONY: decode ops utils
fftw:
mkdir -p third_party && cd third_party && \
wget http://www.fftw.org/$(FFTW).tar.gz && \
tar -xzf $(FFTW).tar.gz && \
rm $(FFTW).tar.gz && \
cd $(FFTW) && \
mkdir -p build && \
./configure --prefix=`pwd`/build \
--enable-float --enable-shared && \
make clean && \
make -j 4 && \
make install
decode:
$(MAKE) -C decoder
ops:
$(MAKE) -C user_ops
utils:
$(MAKE) -C utils
clean:
$(MAKE) -C utils clean
$(MAKE) -C user_ops clean
$(MAKE) -C decoder clean