5
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 PROGDIR=smswrap test
|
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
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 all: ${SUBDIR}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 smswrap: libutil
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 test: libutil
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${SUBDIR}: FRC
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 cd $@; ${MAKE} ${MFLAGS}
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 clean: FRC
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 rm -f a.out core errs
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 install: FRC
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 FRC:
|