view ft16/Makefile @ 6:3ab5e2e17da2 default tip

add README
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 14:56:30 +0000
parents 19047c3302a9
children
line wrap: on
line source

PROG=	faketrau-16k
OBJS=	dl_frames.o main.o read_ts.o record_ctrl.o subslot_rx.o tx_func.o \
	user_cmd.o
HDRS=	dl_frames.h globals.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