view ffstools/Makefile @ 854:74331b35b1da

ringtools/examples/ring.pwt: PWT equivalent of ring.buz
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Nov 2021 16:39:52 +0000
parents 850bf712c1fc
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
SUBDIR=	cal2text caltools newcomp tiaud tiffs-mkfs 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: