FreeCalypso > hg > themwi-rtp-lib
annotate Makefile @ 36:84affc6de365 default tip
Makefile hierarchy: add install
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 09 Jul 2024 02:22:18 +0000 |
parents | be04d84f5468 |
children |
rev | line source |
---|---|
36
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
1 SUBDIR= include src |
4 | 2 DESTDIR= |
3 | |
4 all: ${SUBDIR} | |
5 | |
6 ${SUBDIR}: FRC config.defs | |
7 cd $@; ${MAKE} ${MFLAGS} | |
8 | |
9 config.defs: | |
10 @echo 'You must run ./configure before make' | |
11 @false | |
12 | |
36
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
13 install: FRC |
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
15 DESTDIR=${DESTDIR} install); done |
4 | 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 FRC: |