view rvinterf/old/sendsp/Makefile @ 108:2b041d57de1f

target-utils/libcommon/cmd_baud_switch.c: const compiler warning fix
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Nov 2016 01:12:00 +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}