annotate Makefile @ 42:334d883b96ba

twrtp_jibuf_create: make config argument const While this config structure is not a constant in the mathematical sense of the term (it is expected that vty config changes may happen while twjit instance is alive), twjit functions never write to it, only read, hence it is 'const' in the not-quite-mathematical C-standard sense.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 22:47:20 +0000
parents 84affc6de365
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
1 SUBDIR= include src
4
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 DESTDIR=
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${SUBDIR}
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 ${SUBDIR}: FRC config.defs
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 cd $@; ${MAKE} ${MFLAGS}
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 config.defs:
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 @echo 'You must run ./configure before make'
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 @false
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
36
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
13 install: FRC
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
15 DESTDIR=${DESTDIR} install); done
4
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 FRC: