-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile
29 lines (22 loc) · 1.28 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
all run: kiwi_extension
install: oct/read_kiwi_iq_wav.oct oct/json_save_cc.oct
update:
git pull --recurse-submodules
## make tag NAME=...
tag:
@git tag -a ${NAME}
@octave --eval "v=tdoa_get_version();save(fullfile('mat','version.mat'),'v')"
@sed -i '/^# Created by/d' mat/version.mat
kiwi_extension: oct/read_kiwi_iq_wav.oct oct/json_save_cc.oct
@mkdir -p ../files/00000
@cp iq/* ../files/00000
@cp gnss_pos/*.txt ../files/00000
# -octave-cli --eval "proc_tdoa_kiwi('../files/00000',{'../files/00000/20171127T104156Z_77500_DF0KL_iq.wav','../files/00000/20171127T104156Z_77500_HB9RYZ_iq.wav','../files/00000/20171127T104156Z_77500_F1JEK_iq.wav'},struct('lat',[41:0.05:56],'lon',[-25:0.05:22],'known_location',struct('coord',[50.0152,9.0112],'name','DCF77')));"
-octave-cli --eval "proc_tdoa_kiwi('../files/00000',{'../files/00000/20200813T065220Z_77500_HB9ODP_iq.wav','../files/00000/20200813T065220Z_77500_JO51xl_iq.wav','../files/00000/20200813T065220Z_77500_pa0rdt_iq.wav'},struct('lat',[41:0.05:56],'lon',[-25:0.05:22],'known_location',struct('coord',[50.0152,9.0112],'name','DCF77')));"
dcf77: oct/read_kiwi_iq_wav.oct oct/json_save_cc.oct
octave-cli --eval proc_tdoa_DCF77\;
oct/%.oct: src/%.cc
@mkdir -p oct
cd oct && mkoctfile -I../include ../$<
clean:
rm -f pdf/*.pdf png/*.png oct/*.oct