FreeCalypso > hg > themwi-system-sw
annotate Makefile @ 16:4c2000b3aed7
top Makefile: add mncc
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 26 Jun 2022 16:33:30 -0800 |
parents | 6560915b0d27 |
children | 7a9eb3df14e6 |
rev | line source |
---|---|
5 | 1 CC= gcc |
2 CFLAGS= -O2 | |
3 | |
16
4c2000b3aed7
top Makefile: add mncc
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
4 PROGDIR=mncc 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 | |
16
4c2000b3aed7
top Makefile: add mncc
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
10 mncc: libnumdb libutil |
12
6560915b0d27
top Makefile: add libnumdb
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
11 utils: libnumdb libutil |
5 | 12 |
13 ${SUBDIR}: FRC | |
14 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
15 | |
16 clean: FRC | |
17 rm -f a.out core errs | |
18 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
19 | |
20 install: FRC | |
21 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done | |
22 | |
23 FRC: |