changeset 3:19047c3302a9

ft16: add Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 13:09:39 +0000
parents 5c18cd38c8ad
children adcdbb2e30fe
files .hgignore ft16/Makefile
diffstat 2 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Thu Aug 29 13:07:16 2024 +0000
+++ b/.hgignore	Thu Aug 29 13:09:39 2024 +0000
@@ -2,3 +2,5 @@
 
 \.[oa]$
 ^config\.defs$
+
+^ft16/faketrau-16k$
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ft16/Makefile	Thu Aug 29 13:09:39 2024 +0000
@@ -0,0 +1,24 @@
+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