view sip-manual-out/Makefile @ 114:a30c25fb4c2f

sip-in: generate CDR syslog entries
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Sep 2022 22:41:16 -0800
parents d74b545a3c2a
children a36b731bfef9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sip-manual-out
OBJS=	dummy_rtp.o main.o readconf.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