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