view rfcal/vcxo-manual/Makefile @ 227:6616f4e35579

fc-loadtool: exec command now looks for scripts in the current directory
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 03 Aug 2017 01:21: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}