view ffstools/tiffs-rd/Makefile @ 54:6178a3d3cf74

loadtools/loadtool.help: new default directory for the exec command
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 06:23:14 +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