view rfcal/vcxo-manual/Makefile @ 214:b0de6d36e84c

loadtools/gta-ap-build.sed: don't build fc-compalram or fc-buzplay for GTA0x AP
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 May 2017 06:29:06 +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}