view ffstools/tiffs-rd/Makefile @ 696:dbbafb1f33f3

loadtools/fldevs.c: removed unnecessary #include headers
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 11 Mar 2020 18:24:11 +0000
parents 90d7c360a614
children d68275d47a32
line wrap: on
line source

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

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

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

${OBJS}:	${HDRS}

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

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