comparison amrefr/Makefile @ 453:19f1aa01ea10

new approach to config & build for ThemWi software
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 05:45:46 +0000
parents 65d20172e92a
children cb1d1ea7f2c5
comparison
equal deleted inserted replaced
452:6e595f7d40e2 453:19f1aa01ea10
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= amrefr-decode-r amrefr-encode-r amrefr-tseq-dec amrefr-tseq-enc 1 PROGS= amrefr-decode-r amrefr-encode-r amrefr-tseq-dec amrefr-tseq-enc
4 LIBEFR= ../libgsmefr/libgsmefr.a 2 LIBEFR= ../libgsmefr/libgsmefr.a
5 LIBAMR= ../libtwamr/libtwamr.a 3 LIBAMR= ../libtwamr/libtwamr.a
6 LIBTEST=../libtest/libtest.a 4 LIBTEST=../libtest/libtest.a
7 LIBS= ${LIBEFR} ${LIBAMR} 5 LIBS= ${LIBEFR} ${LIBAMR}
8 LIBST= ${LIBEFR} ${LIBAMR} ${LIBTEST} 6 LIBST= ${LIBEFR} ${LIBAMR} ${LIBTEST}
9 INSTBIN=/opt/freecalypso/bin 7
8 include ../config.defs
9 INSTBIN=${DESTDIR}${PREFIX}/bin
10 10
11 all: ${PROGS} 11 all: ${PROGS}
12 12
13 amrefr-decode-r: decode-r.o ${LIBST} 13 amrefr-decode-r: decode-r.o ${LIBST}
14 ${CC} ${CFLAGS} -o $@ $^ 14 ${CC} ${CFLAGS} -o $@ $^