view ater/Makefile @ 16:4ffe22f5b4b5

ater: initial osmo_i460 framework
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 07:19:38 +0000
parents 98ae717734d6
children 61862af2247f
line wrap: on
line source

PROG=	itt-ater-16
OBJS=	main.o read_ts.o record_ctrl.o subslot_rx.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 submux.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