view ffstools/tiffs-rd/Makefile @ 861:cc621af29b74

CHANGES: document fc-add-ramps
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Dec 2021 21:36:39 +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