FreeCalypso > hg > freecalypso-tools
comparison Makefile @ 249:d0a4c05d98dc
libserial hooked into the top level Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 21 Sep 2017 21:49:07 +0000 |
parents | d13ee4ef86c7 |
children | 556bb8c860fa |
comparison
equal
deleted
inserted
replaced
248:cb1ba53a1106 | 249:d0a4c05d98dc |
---|---|
1 SUBDIR= ffstools loadtools miscutil ringtools rvinterf | 1 PROGDIR=ffstools loadtools miscutil ringtools rvinterf |
2 LIBDIR= libserial | |
3 SUBDIR= ${PROGDIR} ${LIBDIR} | |
2 | 4 |
3 all: ${SUBDIR} | 5 all: ${SUBDIR} |
6 | |
7 loadtools: libserial | |
8 miscutil: libserial | |
9 rvinterf: libserial | |
4 | 10 |
5 ${SUBDIR}: FRC | 11 ${SUBDIR}: FRC |
6 cd $@; ${MAKE} ${MFLAGS} | 12 cd $@; ${MAKE} ${MFLAGS} |
7 | 13 |
8 clean: FRC | 14 clean: FRC |
9 rm -f a.out core errs | 15 rm -f a.out core errs |
10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | 16 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
17 for i in libserial-*; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
11 | 18 |
12 install: FRC | 19 install: FRC |
13 mkdir -p /opt/freecalypso | 20 mkdir -p /opt/freecalypso |
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done | 21 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
15 if [ -d target-bin ]; then \ | 22 if [ -d target-bin ]; then \ |
16 mkdir -p /opt/freecalypso/target-bin; \ | 23 mkdir -p /opt/freecalypso/target-bin; \ |
17 install -c -m 644 target-bin/* /opt/freecalypso/target-bin; \ | 24 install -c -m 644 target-bin/* /opt/freecalypso/target-bin; \ |
18 fi | 25 fi |
19 | 26 |