annotate Makefile @ 31:cd7448724d74

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