FreeCalypso > hg > gsm-codec-lib
diff libtwamr/Makefile @ 351:97c699f40ab3
libtwamr: generate namespace.h from namespace.list
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 05 May 2024 20:34:55 +0000 |
parents | 29769a9b89d3 |
children | e4ce7972737f |
line wrap: on
line diff
--- a/libtwamr/Makefile Tue Apr 23 05:34:54 2024 +0000 +++ b/libtwamr/Makefile Sun May 05 20:34:55 2024 +0000 @@ -8,12 +8,16 @@ gmed_n.o graytab.o inv_sqrt.o log2.o lsp_lsf.o oper_32b.o pow2.o \ prmno.o q_plsf3_tab.o q_plsf5_tab.o reorder.o s10_8pf.o set_sign.o \ sqrt_l.o tls_flags.o window.o +HDRS= namespace.h LIB= libtwamr.a INSTALL_PREFIX= /usr/local all: ${LIB} +namespace.h: namespace.awk namespace.list + awk -f namespace.awk namespace.list > $@ + ${OBJS}: ${HDRS} ${LIB}: ${OBJS} @@ -27,4 +31,4 @@ # install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib clean: - rm -f *.[oa] errs + rm -f *.[oa] namespace.h errs