view ffstools/tiffs-rd/Makefile @ 674:135de08c5d74

loadtools/flutil.c: build_flashw_hex_string() no longer needed
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Mar 2020 04:18:30 +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