forked from tomojitakasu/PocketSDR
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
26 lines (18 loc) · 576 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
.PHONY: all app-install app lib-install lib clean
export OS = $(shell uname)
all: app-install python/fftw_wisdom.txt
app-install: app
cd app && $(MAKE) install
app: lib-install
cd app && $(MAKE) -j
lib-install: lib
cd lib/build && $(MAKE) install
lib:
cd lib/build && $(MAKE) -j
python/fftw_wisdom.txt:
fftwf-wisdom -v -c -o $@
clean:
cd app && $(MAKE) clean
cd lib/build && $(MAKE) clean
rm -f lib/linux/*.a lib/linux/*.so lib/linux/*.dylib lib/build/*.dylib
rm -f bin/pocket_acq bin/pocket_conf bin/pocket_dump bin/pocket_scan bin/pocket_snap bin/pocket_trk