view ffstools/tiffs-mkfs/Makefile @ 766:78101799417c

doc/DUART28-boot-control: update for current patch situation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 02 Feb 2021 05:16:01 +0000
parents 12ae93940467
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiffs-mkfs
OBJS=	ffsparam.o globals.o input.o main.o output.o
HDRS=	globals.h struct.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