view mtctest/Makefile @ 8:a902ccbf6bbc

mtctest: introduce general user command structure
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 02:48:55 +0000
parents 33d8b3177540
children 395c56969bc4
line wrap: on
line source

CPPFLAGS=-I${includedir}
PROG=	themwi-test-mtc
OBJS=	disconnect.o main.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