7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 SUBDIR= include librtpalloc rtp-mgr
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 DESTDIR=
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 all: ${SUBDIR}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 ${SUBDIR}: FRC config.defs
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 cd $@; ${MAKE} ${MFLAGS}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 config.defs:
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 @echo 'You must run ./configure before make'
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 @false
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 install: FRC
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 DESTDIR=${DESTDIR} install); done
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: FRC
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f a.out core errs
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 FRC:
|