view Makefile @ 142:bb9a75557f59

sip-in: syslog SIP message retransmission failures
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Oct 2022 13:42:27 -0800
parents f05183b18d29
children 8adcd220c6cf
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

PROGDIR=mgw mncc mtctest sip-in sip-manual-out utils
LIBDIR=	libnumdb liboutrt libsip libutil
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

mgw:		libutil
mncc:		libnumdb libutil
mtctest:	libnumdb libutil
sip-in:		libnumdb libsip libutil
sip-manual-out:	libsip libutil
utils:		libnumdb 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: