view ffstools/Makefile @ 554:c44f3bf0e4d5

CHANGES: Am29DL640G flash support documented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 17:54:07 +0000
parents f2a040324509
children 850bf712c1fc
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
SUBDIR=	cal2text caltools newcomp tiaud tiffs-rd tiffs-wrappers

INSTALL_PREFIX=	/opt/freecalypso

all:	${SUBDIR}

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"

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

install: FRC
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
		INSTALL_PREFIX=${INSTALL_PREFIX} install); done

FRC: