view test-v22/Makefile @ 10:3c5734b88c20

sipout-test-v22 put together
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 Mar 2024 02:33:49 -0800
parents test-fsk/Makefile@ba66d297fe57
children f7321b25195e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sipout-test-v22
OBJS=	bye_in.o disc_cmd.o main.o modem_func.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} -lspandsp -lm

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

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