view fluid-mnf/Makefile @ 387:f190b78c3b6a

pirelli/chg-circuit: found PCHG and the precharge circuit
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 23 Mar 2022 21:20:26 +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}