annotate Makefile @ 18:f7321b25195e default tip

new build system for ThemWi sw components
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 18:08:35 -0800
parents 3c5734b88c20
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
3c5734b88c20 sipout-test-v22 put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
1 PROGDIR=test-fsk test-v22 test-voice tone-detect
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= librtpalloc libsip libutil
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 all: ${SUBDIR}
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
2
26383ed8b79f test-fsk: starting as a copy of test-voice
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
7 test-fsk: librtpalloc libsip libutil
10
3c5734b88c20 sipout-test-v22 put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
8 test-v22: librtpalloc libsip libutil
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 test-voice: librtpalloc libsip libutil
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
18
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
11 ${SUBDIR}: FRC config.defs
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
12 cd $@; ${MAKE} ${MFLAGS}
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
13
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
14 config.defs:
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
15 @echo 'You must run ./configure before make'
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
16 @false
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean: FRC
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f a.out core errs
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install: FRC
18
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
f7321b25195e new build system for ThemWi sw components
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
24 DESTDIR=${DESTDIR} install); done
1
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
38c4d09882f6 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 FRC: