FreeCalypso > hg > sipout-test-utils
changeset 1:38c4d09882f6
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Mar 2024 23:25:15 -0800 |
parents | 35c0d9f03c0a |
children | 26383ed8b79f |
files | Makefile |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun Mar 03 23:25:15 2024 -0800 @@ -0,0 +1,22 @@ +CC= gcc +CFLAGS= -O2 + +PROGDIR=test-voice +LIBDIR= librtpalloc libsip libutil +SUBDIR= ${PROGDIR} ${LIBDIR} + +all: ${SUBDIR} + +test-voice: 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: