diff amrconv/Makefile @ 460:cb1d1ea7f2c5

new build system: accept more directory options
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 23:04:44 +0000
parents 19f1aa01ea10
children
line wrap: on
line diff
--- a/amrconv/Makefile	Fri May 10 19:50:29 2024 +0000
+++ b/amrconv/Makefile	Fri May 10 23:04:44 2024 +0000
@@ -3,7 +3,6 @@
 LIBTEST=../libtest/libtest.a
 
 include ../config.defs
-INSTBIN=${DESTDIR}${PREFIX}/bin
 
 AMR2EFR_OBJS=	amr122bits.o bitmanip.o amr2efr.o
 EFR2AMR_OBJS=	amr122bits.o bitmanip.o efr2amr.o
@@ -38,8 +37,8 @@
 	${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST}
 
 install:
-	mkdir -p ${INSTBIN}
-	install -c ${PROGS} ${INSTBIN}
+	mkdir -p ${DESTDIR}${bindir}
+	install -c ${PROGS} ${DESTDIR}${bindir}
 
 clean:
 	rm -f *.o *.out ${PROGS}