view rfcal/cmu200/Makefile @ 198:06c629b34903

target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 30 Apr 2017 17:42:40 +0000
parents 47d56330609d
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-cmu200d fc-serscpi
INSTBIN=/opt/freecalypso/bin

CMU200D_OBJS=	dispatch.o init.o main.o openport.o sercmd.o session.o socket.o
SERSCPI_OBJS=	openport.o sertool.o

all:	${PROGS}

fc-cmu200d:	${CMU200D_OBJS}
	${CC} ${CFLAGS} -o $@ ${CMU200D_OBJS}

fc-serscpi:	${SERSCPI_OBJS}
	${CC} ${CFLAGS} -o $@ ${SERSCPI_OBJS}

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

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