view Makefile @ 8:eaf0e8f81a22

test-fsk: don't feed RTP to modem Rx during ringing
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Mar 2024 21:33:49 -0800
parents 26383ed8b79f
children ff535725e01f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

PROGDIR=test-fsk test-voice
LIBDIR=	librtpalloc libsip libutil
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

test-fsk:	librtpalloc libsip libutil
test-voice:	librtpalloc libsip libutil

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

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

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

FRC: