annotate Makefile @ 43:5995660dcbac

sip-rx-test, sip-udp-dump: fix bind error handling
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Sep 2022 21:38:02 -0800
parents 891ebfb55e6b
children 62f39c7cee15
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
33
2b072ad13de6 top Makefile: add mgw
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
4 PROGDIR=mgw mncc mtctest utils
41
e57bc4c885a7 top Makefile: add libsip
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
5 LIBDIR= libnumdb libsip libutil
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 SUBDIR= ${PROGDIR} ${LIBDIR}
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${SUBDIR}
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
33
2b072ad13de6 top Makefile: add mgw
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
10 mgw: libutil
22
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
11 mncc: libnumdb libutil
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
12 mtctest: libnumdb libutil
42
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 41
diff changeset
13 utils: libnumdb libsip libutil
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ${SUBDIR}: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f a.out core errs
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 FRC: