view rfcal/vcxo-manual/Makefile @ 185:3eb53be9e667

fc-vcxo-param: use M_PI constant instead of acos(-1.0)
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Apr 2017 05:13:45 +0000
parents 9099a35a705f
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}