FreeCalypso > hg > fc-am-toolkit
comparison Makefile @ 11:2a62a7decd9f
top Makefile: compilation happening in bootmatch
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 10 Jun 2023 03:23:10 +0000 |
parents | acfe834e174f |
children | f232fb350e1c |
comparison
equal
deleted
inserted
replaced
10:39b921d851fb | 11:2a62a7decd9f |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 SUBDIR= bootmatch | |
4 | |
1 INSTALL_PREFIX= /opt/freecalypso | 5 INSTALL_PREFIX= /opt/freecalypso |
2 | 6 |
3 all: | 7 all: ${SUBDIR} |
4 | 8 |
5 clean: | 9 ${SUBDIR}: FRC |
10 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
6 | 11 |
7 install: | 12 clean: FRC |
13 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
14 | |
15 install: FRC | |
8 mkdir -p ${INSTALL_PREFIX}/bin | 16 mkdir -p ${INSTALL_PREFIX}/bin |
9 install -c -m 755 sh/* ${INSTALL_PREFIX}/bin | 17 install -c -m 755 sh/* ${INSTALL_PREFIX}/bin |
10 mkdir -p ${INSTALL_PREFIX}/scripts | 18 mkdir -p ${INSTALL_PREFIX}/scripts |
11 install -c -m 644 cmd/* ${INSTALL_PREFIX}/scripts | 19 install -c -m 644 cmd/* ${INSTALL_PREFIX}/scripts |
12 mkdir -p ${INSTALL_PREFIX}/target-bin | 20 mkdir -p ${INSTALL_PREFIX}/target-bin |
13 install -c -m 644 target-bin/* ${INSTALL_PREFIX}/target-bin | 21 install -c -m 644 target-bin/* ${INSTALL_PREFIX}/target-bin |
22 | |
23 FRC: |