view Makefile @ 31:08d7794cdd0a

themwi-test-mtc: fix bug in called number parsing
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Jul 2022 22:38:44 -0800
parents 7a9eb3df14e6
children 2b072ad13de6
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

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

all:	${SUBDIR}

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