view cmu200/Makefile @ 52:e93b5e727230

autocal: use DUALEXT STD for 900 and 1800 MHz bands
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 07:53:36 +0000
parents 2fb9768fc1e2
children 3ec82dc1dbda
line wrap: on
line source

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

CMU200D_OBJS=	band.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}