view mtctest/Makefile @ 7:d0b86b144577

top Makefile: add mtctest
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 01:56:27 +0000
parents 33d8b3177540
children a902ccbf6bbc
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
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