FreeCalypso > hg > vband-misc
changeset 27:2095f3c23dad
pcmu2efr: generate the data files here too
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 13 May 2024 01:46:25 +0000 |
parents | 1794bf0fbcf7 |
children | 4f47447fd17f |
files | .hgignore Makefile pcmu2efr/Makefile |
diffstat | 3 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sun May 12 04:48:36 2024 +0000 +++ b/.hgignore Mon May 13 01:46:25 2024 +0000 @@ -9,11 +9,13 @@ ^dmw/gen-dmw-bin$ ^dmw/dmw-[au]law\. +^pcmu2efr/all-outputs\. ^pcmu2efr/amrefr-out$ ^pcmu2efr/comb-diff$ ^pcmu2efr/comb-out$ ^pcmu2efr/dhf-check$ ^pcmu2efr/pcmu-input$ +^pcmu2efr/pcmu-input\.bin$ ^pcmu2efr/stdefr-diff$ ^pcmu2efr/stdefr-out$
--- a/Makefile Sun May 12 04:48:36 2024 +0000 +++ b/Makefile Mon May 13 01:46:25 2024 +0000 @@ -2,6 +2,7 @@ all: ${SUBDIR} +pcmu2efr: utils ringing: utils ${SUBDIR}: FRC
--- a/pcmu2efr/Makefile Sun May 12 04:48:36 2024 +0000 +++ b/pcmu2efr/Makefile Mon May 13 01:46:25 2024 +0000 @@ -2,6 +2,7 @@ CFLAGS= -O2 PROGS= amrefr-out comb-diff comb-out dhf-check pcmu-input stdefr-diff \ stdefr-out +FILES= all-outputs.gsmx all-outputs.inc pcmu-input.bin AMREFR_OBJS= amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o COMB_DIFF_OBJS= comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \ @@ -14,7 +15,7 @@ STDEFR_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o STDEFRD_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o -all: ${PROGS} +all: ${PROGS} ${FILES} amrefr-out: ${AMREFR_OBJS} ${CC} ${CFLAGS} -o $@ ${AMREFR_OBJS} -lgsmefr -ltwamr @@ -37,5 +38,16 @@ stdefr-out: ${STDEFR_OBJS} ${CC} ${CFLAGS} -o $@ ${STDEFR_OBJS} -lgsmefr +# data outputs + +all-outputs.gsmx: comb-out + ./comb-out $@ + +all-outputs.inc: all-outputs.gsmx + ../utils/gen-hex-c all-outputs.gsmx $@ + +pcmu-input.bin: pcmu-input + ./pcmu-input $@ + clean: - rm -f *.o ${PROGS} + rm -f *.o ${PROGS} *.bin *.gsmx *.inc