diff mgw/Makefile @ 126:815e4c59162e

mgw DTMF: tone definitions and sample array generation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2022 17:09:51 -0800
parents 3b3f07b112f3
children f062c32a5116
line wrap: on
line diff
--- a/mgw/Makefile	Sat Oct 01 16:07:59 2022 -0800
+++ b/mgw/Makefile	Sat Oct 01 17:09:51 2022 -0800
@@ -1,15 +1,16 @@
 CC=	gcc
 CFLAGS=	-O2
 PROG=	themwi-mgw
-OBJS=	crcx.o ctrl_prot.o ctrl_sock.o dlcx.o g711_decode.o g711_encode.o \
-	gsm2pstn.o main.o mdcx.o pstn2gsm.o readconf.o udpsink.o
+OBJS=	crcx.o ctrl_prot.o ctrl_sock.o dlcx.o dtmf_init.o dtmf_table.o \
+	g711_decode.o g711_encode.o gsm2pstn.o main.o mdcx.o pstn2gsm.o \
+	readconf.o udpsink.o
 LIBS=	../libutil/libutil.a
 INSTBIN=/usr/local/bin
 
 all:	${PROG}
 
 ${PROG}: ${OBJS} ${LIBS}
-	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm
+	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm -lm
 
 install:
 	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}