FreeCalypso > hg > gsm-codec-lib
diff libgsmfr2/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 | c95e89367321 |
line wrap: on
line diff
--- a/libgsmfr2/Makefile Fri May 10 19:50:29 2024 +0000 +++ b/libgsmfr2/Makefile Fri May 10 23:04:44 2024 +0000 @@ -7,7 +7,6 @@ LIB= libgsmfr2.a include ../config.defs -INSTALL_PREFIX=${DESTDIR}${PREFIX} all: ${LIB} @@ -18,10 +17,10 @@ ranlib $@ install: - mkdir -p ${INSTALL_PREFIX}/include - install -c -m 444 tw_gsmfr.h ${INSTALL_PREFIX}/include - mkdir -p ${INSTALL_PREFIX}/lib - install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib + mkdir -p ${DESTDIR}${includedir} + install -c -m 444 tw_gsmfr.h ${DESTDIR}${includedir} + mkdir -p ${DESTDIR}${libdir} + install -c -m 444 ${LIB} ${DESTDIR}${libdir} clean: rm -f *.[oa] errs