view ffstools/tiffs-rd/Makefile @ 536:dc05170ab113

fc-xram JTAG mode (-j) implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Jun 2019 22:20:24 +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