mirror of
https://github.com/dj0abr/SSB_HighSpeed_Modem.git
synced 2026-06-01 13:41:35 -04:00
update
This commit is contained in:
+11
-3
@@ -1,12 +1,20 @@
|
||||
# makefile for hsmodem
|
||||
# makefile for hsmodem on Linux (PC desktop and ARM)
|
||||
# usage:
|
||||
# make ... builds the program and copies all needed files to ../hsmodemLinux
|
||||
# the shared libs are also copied to this location
|
||||
# to distribute hsmodem you need the folder hsmodemLinux and its subfolders
|
||||
# installation: when these files are copied to the target system,
|
||||
# then (in the target system) run "sudo install".
|
||||
# This will copy the sharded libs to its final location.
|
||||
|
||||
CXXFLAGS = -Wall -O3 -std=c++0x -Wno-write-strings -Wno-narrowing
|
||||
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
|
||||
|
||||
default: $(OBJ)
|
||||
g++ $(CXXFLAGS) -o ../LinuxRelease/hsmodem $(OBJ) $(LDFLAGS)
|
||||
mkdir -p ../hsmodemLinux
|
||||
g++ $(CXXFLAGS) -o ../hsmodemLinux/hsmodem $(OBJ) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user