diff vcxo-manual/Makefile @ 0:bd62be88259d

initial import of rfcal code and docs from freecalypso-tools repository
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 May 2017 18:49:35 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vcxo-manual/Makefile	Sat May 20 18:49:35 2017 +0000
@@ -0,0 +1,22 @@
+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}