FreeCalypso > hg > themwi-system-sw
annotate Makefile @ 32:b3f74df7b808
beginning of themwi-mgw
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 Jul 2022 22:51:44 -0800 |
parents | 7a9eb3df14e6 |
children | 2b072ad13de6 |
rev | line source |
---|---|
5 | 1 CC= gcc |
2 CFLAGS= -O2 | |
3 | |
22
7a9eb3df14e6
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
16
diff
changeset
|
4 PROGDIR=mncc mtctest utils |
12
6560915b0d27
top Makefile: add libnumdb
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
5 LIBDIR= libnumdb libutil |
5 | 6 SUBDIR= ${PROGDIR} ${LIBDIR} |
7 | |
8 all: ${SUBDIR} | |
9 | |
22
7a9eb3df14e6
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
16
diff
changeset
|
10 mncc: libnumdb libutil |
7a9eb3df14e6
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
16
diff
changeset
|
11 mtctest: libnumdb libutil |
7a9eb3df14e6
top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents:
16
diff
changeset
|
12 utils: libnumdb libutil |
5 | 13 |
14 ${SUBDIR}: FRC | |
15 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
16 | |
17 clean: FRC | |
18 rm -f a.out core errs | |
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
20 | |
21 install: FRC | |
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done | |
23 | |
24 FRC: |