comparison amrconv/Makefile @ 184:b092a510141e

tree reorg: move gsm-amr2efr & gsm-efr2amr to amrconv subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 03 Jan 2023 02:33:45 +0000
parents miscutil/Makefile@578fdedf4327
children 78d1a6513393
comparison
equal deleted inserted replaced
183:452c1d5a6268 184:b092a510141e
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= gsm-amr2efr gsm-efr2amr
4 LIBTEST=../libtest/libtest.a
5 INSTBIN=/opt/freecalypso/bin
6
7 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o
8 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o
9
10 all: ${PROGS}
11
12 gsm-amr2efr: ${AMR2EFR_OBJS}
13 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}
14
15 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST}
16 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST}
17
18 install:
19 mkdir -p ${INSTBIN}
20 install -c ${PROGS} ${INSTBIN}
21
22 clean:
23 rm -f *.o *.out ${PROGS}