diff 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
line wrap: on
line diff
--- a/amrtest/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/amrtest/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,10 +1,10 @@
-CC=	gcc
-CFLAGS=	-O2
 PROGS=	twamr-decode twamr-decode-r twamr-encode twamr-encode-r twamr-tseq-dec \
 	twamr-tseq-enc
 LIBAMR=	../libtwamr/libtwamr.a
 LIBTEST=../libtest/libtest.a
-INSTBIN=/opt/freecalypso/bin
+
+include ../config.defs
+INSTBIN=${DESTDIR}${PREFIX}/bin
 
 all:	${PROGS}