view Makefile @ 18:f7321b25195e default tip

new build system for ThemWi sw components
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 18:08:35 -0800
parents 3c5734b88c20
children
line wrap: on
line source

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 config.defs
	cd $@; ${MAKE} ${MFLAGS}

config.defs:
	@echo 'You must run ./configure before make'
	@false

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} \
		DESTDIR=${DESTDIR} install); done

FRC: