view Makefile @ 44:30572642e853

libsip/primary_parse.c: SIP-Version is case-insensitive per RFC 3261
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 05 Sep 2022 10:37:36 -0800
parents 891ebfb55e6b
children 62f39c7cee15
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

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

all:	${SUBDIR}

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