comparison dmw/Makefile @ 7:e81a8c274fa6

dmw: generate G.711 digital mW and convert both versions to robe
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 07:20:23 +0000
parents
children
comparison
equal deleted inserted replaced
6:b55451463161 7:e81a8c274fa6
1 CC= gcc
2 CFLAGS= -O2
3 PROG= gen-dmw-bin
4 FILES= dmw-alaw.bin dmw-alaw.robe dmw-ulaw.bin dmw-ulaw.robe
5
6 all: ${PROG} ${FILES}
7
8 ${PROG}: ${PROG}.c
9 ${CC} ${CFLAGS} -o $@ $@.c
10
11 dmw-alaw.bin: ${PROG}
12 ./${PROG} $@ alaw 20
13
14 dmw-alaw.robe: dmw-alaw.bin
15 pcm8-to-pcm16 alaw dmw-alaw.bin $@
16
17 dmw-ulaw.bin: ${PROG}
18 ./${PROG} $@ ulaw 20
19
20 dmw-ulaw.robe: dmw-ulaw.bin
21 pcm8-to-pcm16 ulaw dmw-ulaw.bin $@
22
23 clean:
24 rm -f *.o ${PROG} *.bin *.robe