view mgw/Makefile @ 275:def9f6e4f49e default tip

doc/Use-outside-USA: Fake-NANP-numbers article is here
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 Nov 2023 21:49:19 -0800
parents cdc807117841
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-mgw
OBJS=	crcx.o ctrl_prot.o ctrl_sock.o dlcx.o dtmf_ctrl.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=/opt/themwi/bin

all:	${PROG}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsmefr -lgsmfrp -lgsm -lm

install:
	install -c -m 755 ${PROG} ${INSTBIN}

clean:
	rm -f *.o ${PROG} errs