FreeCalypso > hg > themwi-interim
annotate Makefile @ 8:a902ccbf6bbc
mtctest: introduce general user command structure
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 Jun 2024 02:48:55 +0000 |
parents | d0b86b144577 |
children |
rev | line source |
---|---|
7
d0b86b144577
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
1 PROGDIR=mncc mtctest |
4 | 2 LIBDIR= libutil |
3 SUBDIR= ${PROGDIR} ${LIBDIR} | |
4 DESTDIR= | |
5 | |
6 all: ${SUBDIR} | |
7 | |
7
d0b86b144577
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
8 mncc: libutil |
d0b86b144577
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
9 mtctest: libutil |
4 | 10 |
11 ${SUBDIR}: FRC config.defs | |
12 cd $@; ${MAKE} ${MFLAGS} | |
13 | |
14 config.defs: | |
15 @echo 'You must run ./configure before make' | |
16 @false | |
17 | |
18 install: FRC | |
19 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ | |
20 DESTDIR=${DESTDIR} install); done | |
21 | |
22 clean: FRC | |
23 rm -f a.out core errs | |
24 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
25 | |
26 FRC: |