diff trau-files/Makefile @ 7:0cb57782715e

trau-files: generate human-readable dumps
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 May 2024 18:53:28 +0000
parents
children cdfeb81350f5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trau-files/Makefile	Fri May 24 18:53:28 2024 +0000
@@ -0,0 +1,22 @@
+EFR_BIN=	e1_ts2_efr.bin
+FR1_BIN=	e1_ts2_fr.bin
+PARSE_TOOL=	../trau-decode/trau-parse
+
+DUMPS=	fr-leg1.dump fr-leg2.dump efr-leg1.dump efr-leg2.dump
+
+all:	${DUMPS}
+
+fr-leg1.dump:	${FR1_BIN} ${PARSE_TOOL}
+	${PARSE_TOOL} ${FR1_BIN} 1 > $@
+
+fr-leg2.dump:	${FR1_BIN} ${PARSE_TOOL}
+	${PARSE_TOOL} ${FR1_BIN} 2 > $@
+
+efr-leg1.dump:	${EFR_BIN} ${PARSE_TOOL}
+	${PARSE_TOOL} ${EFR_BIN} 1 > $@
+
+efr-leg2.dump:	${EFR_BIN} ${PARSE_TOOL}
+	${PARSE_TOOL} ${EFR_BIN} 2 > $@
+
+clean:
+	rm -f *.dump