diff amrtest/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/amrtest/Makefile	Fri May 10 19:50:29 2024 +0000
+++ b/amrtest/Makefile	Fri May 10 23:04:44 2024 +0000
@@ -4,7 +4,6 @@
 LIBTEST=../libtest/libtest.a
 
 include ../config.defs
-INSTBIN=${DESTDIR}${PREFIX}/bin
 
 all:	${PROGS}
 
@@ -27,8 +26,8 @@
 	${CC} ${CFLAGS} -o $@ $^
 
 install:
-	mkdir -p ${INSTBIN}
-	install -c ${PROGS} ${INSTBIN}
+	mkdir -p ${DESTDIR}${bindir}
+	install -c ${PROGS} ${DESTDIR}${bindir}
 
 clean:
 	rm -f *.o *.out ${PROGS}