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