view libtwamr/Makefile @ 333:f4a5545ea8b2

libtwamr: integrate d3_14pf.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Apr 2024 22:23:42 +0000
parents 2303ba1490dd
children dfaa8f322a8d
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	a_refl.o agc.o autocorr.o az_lsp.o b_cn_cod.o basicop2.o bgnscd.o \
	bitno.o bits2prm.o c1035pf.o c2_11pf.o c2_9pf.o c3_14pf.o c4_17pf.o \
	c8_31pf.o c_g_aver.o calc_cor.o calc_en.o cbsearch.o convolve.o cor_h.o\
	d1035pf.o d2_11pf.o d2_9pf.o d3_14pf.o gmed_n.o graytab.o inv_sqrt.o \
	log2.o oper_32b.o prmno.o s10_8pf.o set_sign.o sqrt_l.o tls_flags.o \
	window.o
LIB=	libtwamr.a

INSTALL_PREFIX=	/usr/local

all:	${LIB}

${OBJS}:	${HDRS}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	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

clean:
	rm -f *.[oa] errs