annotate Makefile @ 15:355de6301404

twjit: simplify create API, factor out clock & quantum config
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Jul 2024 21:31:16 +0000
parents be04d84f5468
children 84affc6de365
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 SUBDIR= src
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
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 #install: FRC
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 # for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 # DESTDIR=${DESTDIR} install); done
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: