view Makefile @ 59:bea761629c5b

libsip/sdp_parse.c: fix bug
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Sep 2022 14:53:18 -0800
parents 62f39c7cee15
children d74b545a3c2a
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

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

all:	${SUBDIR}

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