annotate miscutil/Makefile @ 219:dc52c3857bf7

miscutil: new program pcm16-to-alaw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 22 Apr 2023 20:34:49 +0000
parents b092a510141e
children c4c45148cde1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
219
dc52c3857bf7 miscutil: new program pcm16-to-alaw
Mychaela Falconia <falcon@freecalypso.org>
parents: 184
diff changeset
3 PROGS= gsmrec-dump pcm16-raw2wav pcm16-to-alaw pcm16-wav2raw
46
edd2e20e7090 gsmrec-dump: decode EFR frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 23
diff changeset
4 LIBEFR= ../libgsmefr/libgsmefr.a
14
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
5 LIBTEST=../libtest/libtest.a
17
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
6 INSTBIN=/opt/freecalypso/bin
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${PROGS}
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
46
edd2e20e7090 gsmrec-dump: decode EFR frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 23
diff changeset
10 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
edd2e20e7090 gsmrec-dump: decode EFR frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 23
diff changeset
11 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
141
c1dc094f0821 pcm16-raw2wav utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
13 pcm16-raw2wav: raw2wav.o ${LIBTEST}
c1dc094f0821 pcm16-raw2wav utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
14 ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST}
c1dc094f0821 pcm16-raw2wav utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
15
219
dc52c3857bf7 miscutil: new program pcm16-to-alaw
Mychaela Falconia <falcon@freecalypso.org>
parents: 184
diff changeset
16 pcm16-to-alaw: pcm16-to-alaw.c
dc52c3857bf7 miscutil: new program pcm16-to-alaw
Mychaela Falconia <falcon@freecalypso.org>
parents: 184
diff changeset
17 ${CC} ${CFLAGS} -o $@ $@.c
dc52c3857bf7 miscutil: new program pcm16-to-alaw
Mychaela Falconia <falcon@freecalypso.org>
parents: 184
diff changeset
18
142
578fdedf4327 pcm16-wav2raw utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 141
diff changeset
19 pcm16-wav2raw: wav2raw.o ${LIBTEST}
578fdedf4327 pcm16-wav2raw utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 141
diff changeset
20 ${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST}
578fdedf4327 pcm16-wav2raw utility written
Mychaela Falconia <falcon@freecalypso.org>
parents: 141
diff changeset
21
17
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
22 install:
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
23 mkdir -p ${INSTBIN}
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
24 install -c ${PROGS} ${INSTBIN}
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
25
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 clean:
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 rm -f *.o *.out ${PROGS}