Add clean script

pull/280/head
Mark Jessop 2020-06-21 15:33:02 +09:30
rodzic a2f3165ab8
commit 6f69bc5510
1 zmienionych plików z 62 dodań i 0 usunięć

62
auto_rx/clean.sh 100755
Wyświetl plik

@ -0,0 +1,62 @@
#!/bin/bash
#
# Auto Sonde Decoder clean script.
#
# TODO: Convert this to a makefile! Any takers?
# rs_detect.
echo "Cleaning dft_detect"
cd ../scan/
rm dft_detect
echo "Cleaning RS92/RS41/DFM/LMS6/iMS Demodulators"
# New demodulators
cd ../demod/mod/
rm *.o
rm rs41mod
rm dfm09mod
rm rs92mod
rm lms6mod
rm lms6Xmod
rm meisei100mod
rm m10mod
rm mXXmod
# LMS6-1680 Decoder
echo "Cleaning LMS6-1680 Demodulator."
cd ../../mk2a/
rm mk2a_lms1680
echo "Cleaning iMet Demodulator."
cd ../imet/
rm imet1rs_dft
echo "Cleaning fsk_demod"
cd ../utils/
rm fsk_demod
echo "Removing binaries in the auto_rx directory."
cd ../auto_rx/
rm dft_detect
rm fsk_demod
rm imet1rs_dft
rm mk2a_lms1680
rm rs41mod
rm rs92mod
rm dfm09mod
rm m10mod
rm mXXmod
rm lms6Xmod
rm meisei100mod
echo "Done!"