annotate Makefile @ 14:f96153d15889

sipout-test-voice: implement play from file
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 May 2024 22:10:38 -0800
parents 3c5734b88c20
children f7321b25195e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
10
3c5734b88c20 sipout-test-v22 put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
4 PROGDIR=test-fsk test-v22 test-voice tone-detect
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 LIBDIR= librtpalloc libsip libutil
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 SUBDIR= ${PROGDIR} ${LIBDIR}
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${SUBDIR}
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
2
26383ed8b79f test-fsk: starting as a copy of test-voice
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
10 test-fsk: librtpalloc libsip libutil
10
3c5734b88c20 sipout-test-v22 put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
11 test-v22: librtpalloc libsip libutil
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 test-voice: librtpalloc libsip libutil
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${SUBDIR}: FRC
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 install: FRC
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 FRC: