view Makefile @ 13:059b79c9f0c3

sipout-test-voice: add DMW output mode
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 17:09:32 -0800
parents 3c5734b88c20
children f7321b25195e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

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

all:	${SUBDIR}

test-fsk:	librtpalloc libsip libutil
test-v22:	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: