view ffstools/tiffs-rd/Makefile @ 989:a5bff8104b45

pln-ppb-test: implement program operation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Dec 2023 00:16:17 +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