diff dhf/Makefile @ 32:baf74dff5368

dhf: generate hex forms of EFR DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 May 2024 06:26:22 +0000
parents
children 307fe06fabec
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dhf/Makefile	Mon May 13 06:26:22 2024 +0000
@@ -0,0 +1,15 @@
+CC=	gcc
+CFLAGS=	-O2
+PROG=	efr-dhf-hexout
+OUTFILE=efr-dhf-hex.txt
+
+all:	${PROG} ${OUTFILE}
+
+${PROG}:	${PROG}.c
+	${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr
+
+${OUTFILE}:	${PROG}
+	./${PROG} > $@
+
+clean:
+	rm -f *.o ${PROG} *.txt