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