FreeCalypso > hg > gsm-codec-lib
comparison 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 |
comparison
equal
deleted
inserted
replaced
459:b094bc07051a | 460:cb1d1ea7f2c5 |
---|---|
5 unpack_frame.o unpack_frame2.o xmaxc_mean.o | 5 unpack_frame.o unpack_frame2.o xmaxc_mean.o |
6 HDRS= ed_internal.h ed_state.h pp_internal.h pp_state.h tw_gsmfr.h typedef.h | 6 HDRS= ed_internal.h ed_state.h pp_internal.h pp_state.h tw_gsmfr.h typedef.h |
7 LIB= libgsmfr2.a | 7 LIB= libgsmfr2.a |
8 | 8 |
9 include ../config.defs | 9 include ../config.defs |
10 INSTALL_PREFIX=${DESTDIR}${PREFIX} | |
11 | 10 |
12 all: ${LIB} | 11 all: ${LIB} |
13 | 12 |
14 ${OBJS}: ${HDRS} | 13 ${OBJS}: ${HDRS} |
15 | 14 |
16 ${LIB}: ${OBJS} | 15 ${LIB}: ${OBJS} |
17 ar rcu $@ ${OBJS} | 16 ar rcu $@ ${OBJS} |
18 ranlib $@ | 17 ranlib $@ |
19 | 18 |
20 install: | 19 install: |
21 mkdir -p ${INSTALL_PREFIX}/include | 20 mkdir -p ${DESTDIR}${includedir} |
22 install -c -m 444 tw_gsmfr.h ${INSTALL_PREFIX}/include | 21 install -c -m 444 tw_gsmfr.h ${DESTDIR}${includedir} |
23 mkdir -p ${INSTALL_PREFIX}/lib | 22 mkdir -p ${DESTDIR}${libdir} |
24 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib | 23 install -c -m 444 ${LIB} ${DESTDIR}${libdir} |
25 | 24 |
26 clean: | 25 clean: |
27 rm -f *.[oa] errs | 26 rm -f *.[oa] errs |