diff efrtest/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 4104b0390fab
line wrap: on
line diff
--- a/efrtest/Makefile	Fri May 10 19:50:29 2024 +0000
+++ b/efrtest/Makefile	Fri May 10 23:04:44 2024 +0000
@@ -6,7 +6,6 @@
 LIBTEST=../libtest/libtest.a
 
 include ../config.defs
-INSTBIN=${DESTDIR}${PREFIX}/bin
 
 all:	${PROGS}
 
@@ -50,8 +49,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}