FreeCalypso > hg > themwi-rtp-lib
comparison 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 |
comparison
equal
deleted
inserted
replaced
35:c0ce22777694 | 36:84affc6de365 |
---|---|
1 SUBDIR= src | 1 SUBDIR= include src |
2 DESTDIR= | 2 DESTDIR= |
3 | 3 |
4 all: ${SUBDIR} | 4 all: ${SUBDIR} |
5 | 5 |
6 ${SUBDIR}: FRC config.defs | 6 ${SUBDIR}: FRC config.defs |
8 | 8 |
9 config.defs: | 9 config.defs: |
10 @echo 'You must run ./configure before make' | 10 @echo 'You must run ./configure before make' |
11 @false | 11 @false |
12 | 12 |
13 #install: FRC | 13 install: FRC |
14 # for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ | 14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
15 # DESTDIR=${DESTDIR} install); done | 15 DESTDIR=${DESTDIR} install); done |
16 | 16 |
17 clean: FRC | 17 clean: FRC |
18 rm -f a.out core errs | 18 rm -f a.out core errs |
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | 19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
20 | 20 |