view ater/Makefile @ 52:626180a15857 default tip

ater play-d144: emit E-data frames manually, osmo_trau_frame_encode() is currently broken for this frame type
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 06:40:43 +0000
parents 6ba4de500532
children
line wrap: on
line source

PROG=	itt-ater-16
OBJS=	activate.o d144.o dbits.o main.o out_frame.o play_cmd.o read_file.o \
	read_ts.o record_ctrl.o subslot_rx.o tx_func.o user_cmd.o
HDRS=	globals.h out_frame.h read_file.h submux.h
LIBUTIL=../libutil/libutil.a

include ../config.defs

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

all:	${PROG}

${OBJS}:	${HDRS}

${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