diff ater8/Makefile @ 42:ff94d7fc5891

new program itt-ater-8
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Aug 2024 19:02:42 +0000
parents ater/Makefile@2742dbea95f1
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ater8/Makefile	Fri Aug 30 19:02:42 2024 +0000
@@ -0,0 +1,26 @@
+PROG=	itt-ater-8
+OBJS=	activate.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
+LIBHR=	../libhr/libhr.a
+
+include ../config.defs
+
+CPPFLAGS=${OSMO_INCLUDE}
+OSMO_LINK=${OSMO_LPATH} ${OSMO_RPATH} ${OSMO_LIBS}
+LOCAL_LIBS=${LIBUTIL} ${LIBHR}
+
+all:	${PROG}
+
+${OBJS}:	${HDRS}
+
+${PROG}: ${OBJS} ${LOCAL_LIBS}
+	${CC} -o $@ ${OBJS} ${LOCAL_LIBS} ${OSMO_LINK}
+
+install:
+	mkdir -p ${DESTDIR}${bindir}
+	install -c -m 755 ${PROG} ${DESTDIR}${bindir}
+
+clean:
+	rm -f *.o ${PROG} errs