annotate Makefile @ 9:3e88515bcc6d

include/Makefile: install all headers
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 May 2024 22:11:44 +0000
parents b97024a897c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 SUBDIR= include librtpalloc rtp-mgr
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 DESTDIR=
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${SUBDIR}
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 ${SUBDIR}: FRC config.defs
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 cd $@; ${MAKE} ${MFLAGS}
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 config.defs:
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 @echo 'You must run ./configure before make'
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 @false
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 install: FRC
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 DESTDIR=${DESTDIR} install); done
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
b97024a897c3 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 FRC: