view ffstools/tiffs-rd/Makefile @ 293:f8eac2de9a5c

ffstools/Makefile: caltools added to SUBDIR
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 07:39:23 +0000
parents a4afdada80fc
children 90d7c360a614
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
INSTBIN=/opt/freecalypso/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