annotate Makefile @ 10:05a94b08c8e1

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 03:56:16 +0000
parents
children 3d6cfb615d90
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 SUBDIR= libnumdb libnumutil utils
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 all: ${SUBDIR}
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 utils: libnumdb libnumutil
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 ${SUBDIR}: FRC
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 cd $@; ${MAKE} ${MFLAGS}
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 clean: FRC
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 rm -f a.out core errs
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 FRC: