view rvinterf/old/sendsp/Makefile @ 677:3a41d69e8104

doc/Flash-programming: added section about discontiguous m0 images
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Mar 2020 22:53:30 +0000
parents e7502631a0f9
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROGS=	fc-sendsp
INSTBIN=/usr/local/bin

SENDSP_OBJS=	rvifsend.o sendsp.o

all:	${PROGS}

fc-sendsp:	${SENDSP_OBJS}
	${CC} ${CFLAGS} -o $@ ${SENDSP_OBJS}

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROGS}