FreeCalypso > hg > themwi-nanp
annotate Makefile @ 13:c0bfd300b6e5
add INSTALL
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 13 Dec 2023 06:07:40 +0000 |
parents | 3d6cfb615d90 |
children | 78319ed870dc |
rev | line source |
---|---|
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
1 SUBDIR= include libnumdb libnumutil utils |
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
2 |
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
3 INSTALL_PREFIX= /opt/themwi |
10 | 4 |
5 all: ${SUBDIR} | |
6 | |
7 utils: libnumdb libnumutil | |
8 | |
9 ${SUBDIR}: FRC | |
10 cd $@; ${MAKE} ${MFLAGS} | |
11 | |
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
12 install: FRC |
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
13 mkdir -p ${INSTALL_PREFIX} |
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
15 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
16 |
10 | 17 clean: FRC |
18 rm -f a.out core errs | |
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
20 | |
21 FRC: |