view sip-manual-out/Makefile @ 164:baaa6c1a3d3b

sip-out shutdown handling: always do check_dead_call()
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2022 16:31:15 -0800
parents b51247739897
children 258932879f8b
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sip-manual-out
OBJS=	bye_in.o disc_cmd.o dummy_rtp.o main.o readconf.o reinvite.o sip_log.o \
	sip_udp.o uac.o uas.o
LIBS=	../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