view cmu200/Makefile @ 70:e35da125c937

fc-cmu200d: CMU200 external att setting implemented in RF analyzer mode
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jul 2017 05:03:10 +0000
parents 3ec82dc1dbda
children
line wrap: on
line source

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

CMU200D_OBJS=	band.o cableconf.o dispatch.o init.o main.o mode.o openport.o \
		rfanalyzer.o sercmd.o session.o signalgen.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}