annotate Makefile @ 40:d73b6ec27ae6

twjit: allow starting fill level to be 1 In most use cases, the smallest useful setting for starting fill level is 2. However, our job is to provide mechanism rather than policy, and the theoretical minimum is 1 - so let's support the latter configuration.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 20:07:01 +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: