# HG changeset patch # User Mychaela Falconia # Date 1716576808 0 # Node ID 0cb57782715edbb127cf46654057701c81558be3 # Parent 50f73e4d09e8a3189c5208b30bd16bd3343d38e2 trau-files: generate human-readable dumps diff -r 50f73e4d09e8 -r 0cb57782715e .hgignore --- a/.hgignore Fri May 24 18:40:55 2024 +0000 +++ b/.hgignore Fri May 24 18:53:28 2024 +0000 @@ -3,3 +3,5 @@ \.[oa]$ ^trau-decode/trau-parse$ + +^trau-files/.*\.dump$ diff -r 50f73e4d09e8 -r 0cb57782715e trau-files/Makefile --- /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