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