mirror of
https://github.com/RFnexus/modem73.git
synced 2026-04-27 14:30:33 +00:00
Added CM108 PTT support
This commit is contained in:
parent
4ce3f6b8db
commit
65a0f63f5d
7 changed files with 821 additions and 11 deletions
3
Makefile
3
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
CXX = g++
|
||||
CC = gcc
|
||||
CXXFLAGS = -std=c++17 -O3 -march=native -Wall -Wextra
|
||||
LDFLAGS = -lpthread -ltinfo -lncurses -ldl -lm
|
||||
LDFLAGS = -lpthread -ltinfo -lncurses -ldl -lm -lhidapi-hidraw
|
||||
|
||||
# dependencies
|
||||
AICODIX_DSP ?= ../dsp
|
||||
|
|
@ -34,6 +34,7 @@ clean:
|
|||
|
||||
install: $(TARGET)
|
||||
install -m 755 $(TARGET) /usr/local/bin/
|
||||
$(shell cp 50-cm108-ptt.rules /etc/udev/rules.d/)
|
||||
|
||||
# Debug build
|
||||
debug: CXXFLAGS = -std=c++17 -g -O0 -Wall -Wextra -DDEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue