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