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