annotate Makefile @ 17:42373f9992cc

top Makefile: add ater
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 07:20:17 +0000
parents 90e78243d367
children cd7448724d74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
42373f9992cc top Makefile: add ater
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
1 PROGDIR=ater pcm
3
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= libutil
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 DESTDIR=
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${SUBDIR}
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
17
42373f9992cc top Makefile: add ater
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
8 ater: libutil
3
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 pcm: libutil
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${SUBDIR}: FRC config.defs
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 cd $@; ${MAKE} ${MFLAGS}
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 config.defs:
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 @echo 'You must run ./configure before make'
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 @false
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean: FRC
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f a.out core errs
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install: FRC
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 DESTDIR=${DESTDIR} install); done
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
90e78243d367 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 FRC: