You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
357 B

include build.mk
CFLAGS += -Wall -Werror -O3
LDFLAGS += -lm -lasound -lhamlib -lcodec2 -lsamplerate
SRCS = \
analog_trx.c \
eth_ar.c \
interface.c \
sound.c \
alaw.c \
dsp.c \
input.c
OBJS = $(SRCS:.c=.o)
all: analog_trx
analog_trx: $(OBJS)
DEPS:=$(SRCS:.c=.d)
-include $(DEPS)
$(OBJS): Makefile
clean:
rm -rf $(OBJS) $(DEPS)\
analog_trx