view fluid-mnf/Makefile @ 362:b4fb0c7dfdf4

fluid-mnf: added -oC option to use cmd39.m0 for Calypso C05
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Mar 2020 19:44:44 +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}