Skip to content

Commit

Permalink
Update makefile , make wav to generate wave file.
Browse files Browse the repository at this point in the history
  • Loading branch information
aricwang88 committed Mar 6, 2017
1 parent 8704bf4 commit c04fafe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

all:
gcc -o HACKRF_WBFM_Transmit HackRF_WBFM_Transmit.c -lm -lhackrf

gcc -o HACKRF_WBFM_Transmit HackRF_WBFM_Transmit.c -lm -lhackrf -Wno-strict-aliasing
wav:
@echo "Generate wave file..."
avconv -i mm_didu.mp3 -acodec pcm_s16le -ac 2 -ar 44100 -vol 200 MM_didu.wav
clean:
rm HACKRF_WBFM_Transmit

0 comments on commit c04fafe

Please sign in to comment.