comparison Makefile @ 57:7cc2f2360922

top Makefile install rule: new packaging approach
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 07:46:31 +0000
parents 5534402344dc
children da02ce0ac815
comparison
equal deleted inserted replaced
56:4213cf6536fa 57:7cc2f2360922
8 clean: FRC 8 clean: FRC
9 rm -f a.out core errs 9 rm -f a.out core errs
10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done 10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
11 11
12 install: FRC 12 install: FRC
13 mkdir -p /opt/freecalypso
13 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done 14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
15 if [ -d target-bin ]; then \
16 mkdir -p /opt/freecalypso/target-bin; \
17 install -c -m 644 target-bin/* /opt/freecalypso/target-bin; \
18 fi
14 19
15 FRC: 20 FRC: