view rfcal/vcxo-manual/Makefile @ 229:96332d875fc9

loadtools: preparations for loadtool exit code possibly being nonzero
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 03 Aug 2017 01:33: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}