annotate Makefile @ 28:660126bd5f59

themwi-mncc: fix one bug, add debug syslog output
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 Jun 2022 21:47:04 -0800
parents 7a9eb3df14e6
children 2b072ad13de6
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
22
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
4 PROGDIR=mncc mtctest utils
12
6560915b0d27 top Makefile: add libnumdb
Mychaela Falconia <falcon@freecalypso.org>
parents: 5
diff changeset
5 LIBDIR= libnumdb 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
22
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
10 mncc: libnumdb libutil
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
11 mtctest: libnumdb libutil
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
12 utils: libnumdb libutil
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${SUBDIR}: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 install: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 FRC: