view libtwamr/Makefile @ 317:675597e63fd8

libtwamr: integrate gray.tab, convert to intermodule linkage
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Apr 2024 18:00:12 +0000
parents ebd064c52fe3
children 6fd6c5fc1aa4
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 cor_h.o gmed_n.o graytab.o inv_sqrt.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