FreeCalypso > hg > gsm-codec-lib
comparison libgsmefr/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 | ea89eb8291bf |
comparison
equal
deleted
inserted
replaced
459:b094bc07051a | 460:cb1d1ea7f2c5 |
---|---|
12 e_homing.h enc_state.h gains_tb.h gsm_efr.h memops.h namespace.h \ | 12 e_homing.h enc_state.h gains_tb.h gsm_efr.h memops.h namespace.h \ |
13 no_count.h oper_32b.h q_plsf5_tab.h sig_proc.h typedef.h vad.h | 13 no_count.h oper_32b.h q_plsf5_tab.h sig_proc.h typedef.h vad.h |
14 LIB= libgsmefr.a | 14 LIB= libgsmefr.a |
15 | 15 |
16 include ../config.defs | 16 include ../config.defs |
17 INSTALL_PREFIX=${DESTDIR}${PREFIX} | |
18 | 17 |
19 all: ${LIB} | 18 all: ${LIB} |
20 | 19 |
21 ${OBJS}: ${HDRS} | 20 ${OBJS}: ${HDRS} |
22 | 21 |
23 ${LIB}: ${OBJS} | 22 ${LIB}: ${OBJS} |
24 ar rcu $@ ${OBJS} | 23 ar rcu $@ ${OBJS} |
25 ranlib $@ | 24 ranlib $@ |
26 | 25 |
27 install: | 26 install: |
28 mkdir -p ${INSTALL_PREFIX}/include | 27 mkdir -p ${DESTDIR}${includedir} |
29 install -c -m 444 gsm_efr.h ${INSTALL_PREFIX}/include | 28 install -c -m 444 gsm_efr.h ${DESTDIR}${includedir} |
30 mkdir -p ${INSTALL_PREFIX}/lib | 29 mkdir -p ${DESTDIR}${libdir} |
31 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib | 30 install -c -m 444 ${LIB} ${DESTDIR}${libdir} |
32 | 31 |
33 clean: | 32 clean: |
34 rm -f *.[oa] errs | 33 rm -f *.[oa] errs |