view Makefile @ 220:c798a1762c7c

smpp-test1: take strings on the command line, construct bind req
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Aug 2023 23:29:38 -0800
parents 258932879f8b
children 9d6e8d99d2b1
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

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

all:	${SUBDIR}

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