comparison amrtest/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 e2f824ffd08a
children cb1d1ea7f2c5
comparison
equal deleted inserted replaced
452:6e595f7d40e2 453:19f1aa01ea10
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= twamr-decode twamr-decode-r twamr-encode twamr-encode-r twamr-tseq-dec \ 1 PROGS= twamr-decode twamr-decode-r twamr-encode twamr-encode-r twamr-tseq-dec \
4 twamr-tseq-enc 2 twamr-tseq-enc
5 LIBAMR= ../libtwamr/libtwamr.a 3 LIBAMR= ../libtwamr/libtwamr.a
6 LIBTEST=../libtest/libtest.a 4 LIBTEST=../libtest/libtest.a
7 INSTBIN=/opt/freecalypso/bin 5
6 include ../config.defs
7 INSTBIN=${DESTDIR}${PREFIX}/bin
8 8
9 all: ${PROGS} 9 all: ${PROGS}
10 10
11 twamr-decode: decode.o ${LIBAMR} ${LIBTEST} 11 twamr-decode: decode.o ${LIBAMR} ${LIBTEST}
12 ${CC} ${CFLAGS} -o $@ $^ 12 ${CC} ${CFLAGS} -o $@ $^