view ffstools/tiffs-wrappers/Makefile @ 887:3e398f9c31a0

fc-imy2pwt: overhaul melody error handling, report position
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Apr 2022 04:17:08 +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}