view ul-test/Makefile @ 35:6bb1651f8c11

dhf: generate binary form of EFR DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 03:46:12 +0000
parents c1aa6a4160f6
children f8a6ea314c5f
line wrap: on
line source

DMW_SRC=../dmw/dmw-alaw.robe
FR_OUT=	fr-enc.gsm fr-decode.al fr-decode.ul
EFR_OUT=efr-enc.gsmx efr-dec-classic.al efr-dec-classic.ul efr-dec-amrefr.al \
	efr-dec-amrefr.ul
ALL_OUT=${FR_OUT} ${EFR_OUT}

all:	${ALL_OUT}

fr-enc.gsm:	${DMW_SRC}
	gsmfr-encode-r $< $@

fr-decode.robe:	fr-enc.gsm
	gsmfr-decode-r $< $@

fr-decode.al:	fr-decode.robe
	pcm16-to-alaw $< $@

fr-decode.ul:	fr-decode.robe
	pcm16-to-ulaw $< $@

efr-enc.gsmx:	${DMW_SRC}
	gsmefr-encode-r $< $@

efr-dec-classic.robe:	efr-enc.gsmx
	gsmefr-decode-r $< $@

efr-dec-classic.al:	efr-dec-classic.robe
	pcm16-to-alaw $< $@

efr-dec-classic.ul:	efr-dec-classic.robe
	pcm16-to-ulaw $< $@

efr-dec-amrefr.robe:	efr-enc.gsmx
	amrefr-decode-r $< $@

efr-dec-amrefr.al:	efr-dec-amrefr.robe
	pcm16-to-alaw $< $@

efr-dec-amrefr.ul:	efr-dec-amrefr.robe
	pcm16-to-ulaw $< $@

clean:
	rm -f *.gsm *.gsmx *.robe *.al *.ul