view ffstools/tiffs-rd/Makefile @ 900:8171c5c0d804

rvinterf tree: definitions for new version of TCH tap feature
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Dec 2022 03:01:41 +0000
parents d68275d47a32
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiffs
OBJS=	basics.o cat.o decode.o globals.o inode.o ls.o main.o object.o tree.o \
	xtr.o
HDRS=	globals.h pathname.h struct.h types.h
LIBS=	../../librftab/librftab.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} -o $@ ${OBJS} ${LIBS}

${OBJS}:	${HDRS}

install:	${PROG}
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

clean:
	rm -f ${PROG} *.o *.out *errs