view mtctest/Makefile @ 216:6aa2cd650943

tcpserv-dump: specify bind IP on the command line
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jul 2023 22:19:08 -0800
parents e8e82a4bf12b
children 74dae755f85a
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-test-mtc
OBJS=	disconnect.o dummy_rtp.o main.o setup.o sig_handler.o sock_conn.o
LIBS=	../libnumdb/libnumdb.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