view ffstools/tiffs-wrappers/Makefile @ 755:28d58a8cd704

fc-fsio help: write-battery-table change documented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Nov 2020 23:17:31 +0000
parents 8e7f6cca385b
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	mokoffs pirffs tiffs-8m

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

MOKOFFS_OBJS=	installpath.o mokoffs.o
PIRFFS_OBJS=	installpath.o pirffs.o
TIFFS8M_OBJS=	installpath.o tiffs-8m.o

all:	${PROGS}

mokoffs:	${MOKOFFS_OBJS}
	${CC} ${CFLAGS} -o $@ ${MOKOFFS_OBJS}

pirffs:		${PIRFFS_OBJS}
	${CC} ${CFLAGS} -o $@ ${PIRFFS_OBJS}

tiffs-8m:	${TIFFS8M_OBJS}
	${CC} ${CFLAGS} -o $@ ${TIFFS8M_OBJS}

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

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