diff amrconv/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 9d59df9b0e4e
children cb1d1ea7f2c5
line wrap: on
line diff
--- a/amrconv/Makefile	Fri May 10 03:45:47 2024 +0000
+++ b/amrconv/Makefile	Fri May 10 05:45:46 2024 +0000
@@ -1,9 +1,9 @@
-CC=	gcc
-CFLAGS=	-O2
 PROGS=	amr-cod-parse amr-cod2ietf amr-ietf-parse amr-ietf2cod gsm-amr2efr \
 	gsm-efr2amr
 LIBTEST=../libtest/libtest.a
-INSTBIN=/opt/freecalypso/bin
+
+include ../config.defs
+INSTBIN=${DESTDIR}${PREFIX}/bin
 
 AMR2EFR_OBJS=	amr122bits.o bitmanip.o amr2efr.o
 EFR2AMR_OBJS=	amr122bits.o bitmanip.o efr2amr.o