# HG changeset patch # User Mychaela Falconia # Date 1686367390 0 # Node ID 2a62a7decd9fe163fe1c6365765e2c5433e29bea # Parent 39b921d851fb10c4490f683e4607da02eff8bd47 top Makefile: compilation happening in bootmatch diff -r 39b921d851fb -r 2a62a7decd9f Makefile --- a/Makefile Sat Jun 10 03:18:23 2023 +0000 +++ b/Makefile Sat Jun 10 03:23:10 2023 +0000 @@ -1,13 +1,23 @@ +CC= gcc +CFLAGS= -O2 +SUBDIR= bootmatch + INSTALL_PREFIX= /opt/freecalypso -all: +all: ${SUBDIR} + +${SUBDIR}: FRC + cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" -clean: +clean: FRC + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done -install: +install: FRC mkdir -p ${INSTALL_PREFIX}/bin install -c -m 755 sh/* ${INSTALL_PREFIX}/bin mkdir -p ${INSTALL_PREFIX}/scripts install -c -m 644 cmd/* ${INSTALL_PREFIX}/scripts mkdir -p ${INSTALL_PREFIX}/target-bin install -c -m 644 target-bin/* ${INSTALL_PREFIX}/target-bin + +FRC: