FreeCalypso > hg > gsm-codec-lib
comparison amrefr/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 |
---|---|
4 LIBTEST=../libtest/libtest.a | 4 LIBTEST=../libtest/libtest.a |
5 LIBS= ${LIBEFR} ${LIBAMR} | 5 LIBS= ${LIBEFR} ${LIBAMR} |
6 LIBST= ${LIBEFR} ${LIBAMR} ${LIBTEST} | 6 LIBST= ${LIBEFR} ${LIBAMR} ${LIBTEST} |
7 | 7 |
8 include ../config.defs | 8 include ../config.defs |
9 INSTBIN=${DESTDIR}${PREFIX}/bin | |
10 | 9 |
11 all: ${PROGS} | 10 all: ${PROGS} |
12 | 11 |
13 amrefr-decode-r: decode-r.o ${LIBST} | 12 amrefr-decode-r: decode-r.o ${LIBST} |
14 ${CC} ${CFLAGS} -o $@ $^ | 13 ${CC} ${CFLAGS} -o $@ $^ |
30 | 29 |
31 tseq-pcm-out.o: ../efrtest/etsi-pcm-out.c | 30 tseq-pcm-out.o: ../efrtest/etsi-pcm-out.c |
32 ${CC} ${CFLAGS} -c -o $@ $< | 31 ${CC} ${CFLAGS} -c -o $@ $< |
33 | 32 |
34 install: | 33 install: |
35 mkdir -p ${INSTBIN} | 34 mkdir -p ${DESTDIR}${bindir} |
36 install -c ${PROGS} ${INSTBIN} | 35 install -c ${PROGS} ${DESTDIR}${bindir} |
37 | 36 |
38 clean: | 37 clean: |
39 rm -f *.o *.out ${PROGS} | 38 rm -f *.o *.out ${PROGS} |