view rfcal/vcxo-manual/Makefile @ 182:9099a35a705f

manual VCXO calibration code: fc-vcxo-param utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Apr 2017 07:33:38 +0000
parents dcab0be3f67a
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-vcxo-linear fc-vcxo-param
INSTBIN=/opt/freecalypso/bin

LINEAR_OBJS=	linear.o readmeas.o
GENPARAMS_OBJS=	genparams.o readmeas.o

all:	${PROGS}

fc-vcxo-linear:	${LINEAR_OBJS}
	${CC} ${CFLAGS} -o $@ ${LINEAR_OBJS}

fc-vcxo-param:	${GENPARAMS_OBJS}
	${CC} ${CFLAGS} -o $@ ${GENPARAMS_OBJS}

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

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