view sip-manual-out/Makefile @ 237:f78c097108a7

libnumdb2/lookup_func.h: add for use by client programs
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 14:18:04 -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