view test-voice/Makefile @ 5:e80b0051cd92

libutil: add G.711 decoding tables from themwi-mgw
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 04 Mar 2024 22:25:53 -0800
parents 35c0d9f03c0a
children 4f81b959a5f5
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sipout-test-voice
OBJS=	bye_in.o disc_cmd.o main.o readconf.o reinvite.o rtp_rx.o rtp_tx.o \
	sdp_in.o sip_log.o sip_udp.o uac.o uas.o user_cmd.o
LIBS=	../libsip/libsip.a ../librtpalloc/librtpalloc.a ../libutil/libutil.a
INSTBIN=/opt/themwi/bin

all:	${PROG}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

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

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