view fluid-mnf/Makefile @ 358:49fe64a5e207

fluid-mnf/serial.c: comment typo fix
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 13 Mar 2020 21:15:41 +0000
parents bc5ddad215f2
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fluid-mnf
OBJS=	efluid.o fileio.o flash.o fluid.o lzdecode.o lzencode.o machine.o \
	misc.o serial.o target.o trace.o

all:	${PROG}

${PROG}:	${OBJS}
	${CC} -o $@ ${OBJS}

install:
	mkdir -p /opt/freecalypso/bin
	install -c ${PROG} /opt/freecalypso/bin
	mkdir -p /opt/freecalypso/fluid
	install -c -m 644 target-bin/* devices.txt /opt/freecalypso/fluid

clean:
	rm -f *.o ${PROG}