5
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 PROGDIR=ft16
|
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
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ft16: libutil
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${SUBDIR}: FRC config.defs
|
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 config.defs:
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 @echo 'You must run ./configure before make'
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 @false
|
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 install: FRC
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 DESTDIR=${DESTDIR} install); done
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 FRC:
|