view ffstools/tiffs-wrappers/Makefile @ 22:aa20bdae9e53

doc/Compiling update: OpenSSL dependency eliminated, fc-lcdemu retired
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 22 Oct 2016 16:21:22 +0000
parents e7502631a0f9
children a4afdada80fc
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	mokoffs pirffs
INSTBIN=/usr/local/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}