view Makefile @ 430:edbbbf1c4ab1

implement twamr-tseq-dec test program
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 May 2024 23:35:41 +0000
parents 1ceda5586d01
children ba5031723ab6
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

SUBDIR_LIBPROD=	libgsmefr libgsmfr2
SUBDIR_UTILS=	amrconv amrtest efrtest frtest miscutil
SUBDIR_INT=	dev libtest libtwamr

SUBDIR=	${SUBDIR_LIBPROD} ${SUBDIR_UTILS} ${SUBDIR_INT}

all:	${SUBDIR}

amrconv:	libtest
amrtest:	libtwamr
efrtest:	libgsmefr libtest
frtest:		libgsmfr2 libtest
miscutil:	libgsmefr libgsmfr2 libtest

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"

install-lib:	FRC
	for i in ${SUBDIR_LIBPROD}; do (cd $$i; ${MAKE} ${MFLAGS} install); done

install-utils:	FRC
	for i in ${SUBDIR_UTILS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

FRC: