view sip-manual-out/Makefile @ 250:27408ac6e863

sip-in: consistent CDR logs for statelessly rejected calls
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 23:40:56 -0800
parents 1f9a6cede2c5
children cdc807117841
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sip-manual-out
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=/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