view fluid-mnf/Makefile @ 388:b99663e66660

pirelli/chg-circuit: traced the current path to the battery
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 23 Mar 2022 21:55:57 +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}