2020-11-21 13:54:47 -05:00
|
|
|
# makefile for hsmodem
|
2020-11-05 13:11:57 -05:00
|
|
|
|
|
|
|
CXXFLAGS = -Wall -O3 -std=c++0x -Wno-write-strings -Wno-narrowing
|
2020-11-21 13:54:47 -05:00
|
|
|
LDFLAGS = -lpthread -lrt -lsndfile -lasound -lm -lopus -lbassopus -lbass -lbassenc_opus -lbassenc -lfftw3 -lfftw3_threads -lliquid -lcodec2
|
|
|
|
OBJ = hsmodem.o constellation.o crc16.o frame_packer.o main_helper.o scrambler.o speed.o fec.o audio.o udp.o fft.o liquid_if.o symboltracker.o audio_voice.o voiceprocessor.o codec2.o
|
2020-11-05 13:11:57 -05:00
|
|
|
|
|
|
|
default: $(OBJ)
|
|
|
|
g++ $(CXXFLAGS) -o ../LinuxRelease/hsmodem $(OBJ) $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
2020-11-05 13:38:39 -05:00
|
|
|
rm -f *.o
|
2020-11-05 13:11:57 -05:00
|
|
|
|