view sip-in/Makefile @ 64:1f863c63f96b

sip-in: beginning of disconnect handling
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Sep 2022 15:29:30 -0800
parents e5aee661e3b2
children 709b78a4ebf0
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-sip-in
OBJS=	call_list.o call_setup.o disconnect.o invite.o main.o mgw_ops.o \
	mgw_sock.o mncc_handle.o mncc_sock.o readconf.o sip_log.o sip_uas.o \
	sip_udp.o
LIBS=	../libnumdb/libnumdb.a ../libsip/libsip.a ../libutil/libutil.a
INSTBIN=/usr/local/bin

all:	${PROG}

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

install:
	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}

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