comparison Makefile @ 284:556bb8c860fa

librftab added to top Makefile as dependency for ffstools and rvinterf
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 00:06:34 +0000
parents d0a4c05d98dc
children 88fb194b4b61
comparison
equal deleted inserted replaced
283:64bb50fc470f 284:556bb8c860fa
1 PROGDIR=ffstools loadtools miscutil ringtools rvinterf 1 PROGDIR=ffstools loadtools miscutil ringtools rvinterf
2 LIBDIR= libserial 2 LIBDIR= librftab libserial
3 SUBDIR= ${PROGDIR} ${LIBDIR} 3 SUBDIR= ${PROGDIR} ${LIBDIR}
4 4
5 all: ${SUBDIR} 5 all: ${SUBDIR}
6 6
7 ffstools: librftab
7 loadtools: libserial 8 loadtools: libserial
8 miscutil: libserial 9 miscutil: libserial
9 rvinterf: libserial 10 rvinterf: librftab libserial
10 11
11 ${SUBDIR}: FRC 12 ${SUBDIR}: FRC
12 cd $@; ${MAKE} ${MFLAGS} 13 cd $@; ${MAKE} ${MFLAGS}
13 14
14 clean: FRC 15 clean: FRC
15 rm -f a.out core errs 16 rm -f a.out core errs
16 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done 17 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
17 for i in libserial-*; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
18 18
19 install: FRC 19 install: FRC
20 mkdir -p /opt/freecalypso 20 mkdir -p /opt/freecalypso
21 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done 21 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
22 if [ -d target-bin ]; then \ 22 if [ -d target-bin ]; then \