view sip-manual-out/Makefile @ 106:245dc4837b56

sip-in: fix bugs in last commit
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2022 23:44:07 -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