view mtctest/Makefile @ 11:aa2ba9b432af

mtctest: implement play and play-stop commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 04:32:57 +0000
parents 395c56969bc4
children
line wrap: on
line source

CPPFLAGS=-I${includedir}
PROG=	themwi-test-mtc
OBJS=	disconnect.o main.o rtp_play.o rtp_sink.o setup.o sig_handler.o \
	sock_conn.o user_cmd.o
LIBUTIL=../libutil/libutil.a

include ../config.defs

all:	${PROG}

${PROG}: ${OBJS} ${LIBUTIL}
	${CC} -o $@ ${OBJS} ${LIBUTIL} -L${libdir} -lrtpalloc -lnumdb -lnumutil

install:
	mkdir -p ${DESTDIR}${bindir}
	install -c -m 755 ${PROG} ${DESTDIR}${bindir}

clean:
	rm -f *.o ${PROG} errs