view pcm/Makefile @ 9:e3d16d490ce2

pcm: implement dmw-on and dmw-off commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 19:34:08 +0000
parents ca351324187a
children
line wrap: on
line source

PROG=	itt-pcm-one
OBJS=	main.o pcm_tx.o read_ts.o record_ctrl.o user_cmd.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