FreeCalypso > hg > sipout-test-utils
comparison Makefile @ 1:38c4d09882f6
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Mar 2024 23:25:15 -0800 |
parents | |
children | 26383ed8b79f |
comparison
equal
deleted
inserted
replaced
0:35c0d9f03c0a | 1:38c4d09882f6 |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 | |
4 PROGDIR=test-voice | |
5 LIBDIR= librtpalloc libsip libutil | |
6 SUBDIR= ${PROGDIR} ${LIBDIR} | |
7 | |
8 all: ${SUBDIR} | |
9 | |
10 test-voice: librtpalloc libsip libutil | |
11 | |
12 ${SUBDIR}: FRC | |
13 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
14 | |
15 clean: FRC | |
16 rm -f a.out core errs | |
17 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
18 | |
19 install: FRC | |
20 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done | |
21 | |
22 FRC: |