view Makefile @ 264:3b6e6b88a0c5

ffstools/aud-fcdev3b removed: migrated to the new fc-audio-config repository
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Oct 2017 03:40:25 +0000
parents d0a4c05d98dc
children 556bb8c860fa
line wrap: on
line source

PROGDIR=ffstools loadtools miscutil ringtools rvinterf
LIBDIR=	libserial
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

loadtools:	libserial
miscutil:	libserial
rvinterf:	libserial

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

clean: FRC
	rm -f a.out core errs
	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
	for i in libserial-*; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

install: FRC
	mkdir -p /opt/freecalypso
	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
	if [ -d target-bin ]; then \
		mkdir -p /opt/freecalypso/target-bin; \
		install -c -m 644 target-bin/* /opt/freecalypso/target-bin; \
	fi

FRC: