view pcm-br/Makefile @ 38:f7a1a2765e21

README: update for current state
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 19:42:22 +0000
parents 499d065ee591
children
line wrap: on
line source

PROG=	itt-pcm-br
OBJS=	main.o record_ctrl.o showbuf.o user_cmd.o xconn.o
LIBUTIL=../libutil/libutil.a

include ../config.defs

CPPFLAGS=${OSMO_INCLUDE}
OSMO_LINK=${OSMO_LPATH} ${OSMO_RPATH} ${OSMO_LIBS}

all:	${PROG}

${OBJS}:	globals.h

${PROG}: ${OBJS} ${LIBUTIL}
	${CC} -o $@ ${OBJS} ${LIBUTIL} ${OSMO_LINK}

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

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