view ffstools/tiffs-wrappers/Makefile @ 716:3713a349fb1e

doc/Loadtools-usage: Mot V17x documented Mot V17x is equivalent to C155/156 for loadtools purposes, but this fact needs to be documented, as it may not be obvious to those who are not as deeply involved.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 01 Jul 2020 00:31:37 +0000
parents 90d7c360a614
children 8e7f6cca385b
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	mokoffs pirffs

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

MOKOFFS_OBJS=	installpath.o mokoffs.o
PIRFFS_OBJS=	installpath.o pirffs.o

all:	${PROGS}

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

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

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

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