view fluid-mnf/Makefile @ 398:e5e5ed527cc1

compal: one more flash bootloader version
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Jan 2023 06:09:25 +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}