view efr-sid/Makefile @ 55:f27bc1e17311

fr-sid/goodsp-frame41.gsmx: starting point This 33-byte binary file contains frame #41 from good_sp.cod from GSM 06.32 test sequence set, converted from ETSI *.cod format into our gsmx format. This frame is an example of a real FRv1 SID.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Aug 2024 05:00:08 +0000
parents fd498c6898a8
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG1=	mk-sid-test
PROG2=	mk-sid-test2
PROGS=	${PROG1} ${PROG2}
INPUT=	dtx01-frame71.cod
OUT1=	efr-sid-test.gsmx
OUT2=	efr-sid-test2.gsmx
OUT2H=	efr-sid-test2.hex
OUT2T=	efr-sid-test2.tch
OUTPUTS=${OUT1} ${OUT2} ${OUT2H} ${OUT2T}

all:	${PROGS} ${OUTPUTS}

${PROG1}:	${PROG1}.o etsi-bit-rd.o sidbits.o
	${CC} ${CFLAGS} -o $@ $^

${OUT1}:	${PROG1} ${INPUT}
	./${PROG1} ${INPUT} $@

${PROG2}:	${PROG2}.o etsi-bit-rd.o sidbits.o
	${CC} ${CFLAGS} -o $@ $^

${OUT2}:	${PROG2} ${INPUT}
	./${PROG2} ${INPUT} $@

${OUT2H}:	${OUT2}
	../utils/gen-hex-lines ${OUT2} $@ 31

${OUT2T}:	${OUT2}
	fc-efr2tch ${OUT2} $@

clean:
	rm -f ${PROGS} *.o *.gsmx *.hex *.tch