FreeCalypso > hg > gsm-codec-lib
comparison amrconv/Makefile @ 460:cb1d1ea7f2c5
new build system: accept more directory options
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 May 2024 23:04:44 +0000 |
parents | 19f1aa01ea10 |
children |
comparison
equal
deleted
inserted
replaced
459:b094bc07051a | 460:cb1d1ea7f2c5 |
---|---|
1 PROGS= amr-cod-parse amr-cod2ietf amr-ietf-parse amr-ietf2cod gsm-amr2efr \ | 1 PROGS= amr-cod-parse amr-cod2ietf amr-ietf-parse amr-ietf2cod gsm-amr2efr \ |
2 gsm-efr2amr | 2 gsm-efr2amr |
3 LIBTEST=../libtest/libtest.a | 3 LIBTEST=../libtest/libtest.a |
4 | 4 |
5 include ../config.defs | 5 include ../config.defs |
6 INSTBIN=${DESTDIR}${PREFIX}/bin | |
7 | 6 |
8 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o | 7 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o |
9 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o | 8 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o |
10 | 9 |
11 COD_PARSE_OBJS= amr_common_tbl.o cod-parse.o cod-read.o param_asm.o param_dump.o | 10 COD_PARSE_OBJS= amr_common_tbl.o cod-parse.o cod-read.o param_asm.o param_dump.o |
36 | 35 |
37 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST} | 36 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST} |
38 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST} | 37 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST} |
39 | 38 |
40 install: | 39 install: |
41 mkdir -p ${INSTBIN} | 40 mkdir -p ${DESTDIR}${bindir} |
42 install -c ${PROGS} ${INSTBIN} | 41 install -c ${PROGS} ${DESTDIR}${bindir} |
43 | 42 |
44 clean: | 43 clean: |
45 rm -f *.o *.out ${PROGS} | 44 rm -f *.o *.out ${PROGS} |