view autocal/Makefile @ 68:3ec82dc1dbda

fc-cmu200d: implemented reading and parsing of cable config files (-c arg)
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jul 2017 04:34:15 +0000
parents 81e8f7e99d89
children c9bd1f75029f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/opt/freecalypso/include
PROGS=	fc-rfcal-gmagic fc-rfcal-rxband fc-rfcal-txbasis fc-rfcal-txcheck \
	fc-rfcal-vcxo
INSTBIN=/opt/freecalypso/bin

GMAGIC_OBJS=	gmagicmain.o l1meas.o l1tmops.o rvinterf.o rxcommon.o \
		sockopts.o tsidsock.o

RXBAND_OBJS=	l1meas.o l1tmops.o rvinterf.o rxband.o rxcommon.o rxupload.o \
		sockopts.o tsidsock.o

TXBASIS_OBJS=	l1tmops.o rvinterf.o tsidsock.o txbasis.o txpwrmeas.o

TXCHECK_OBJS=	l1tmops.o rvinterf.o sockopts.o tsidsock.o txchkmain.o \
		txpwrmeas.o

VCXO_OBJS=	l1tmops.o rvinterf.o sockopts.o tsidsock.o vcxomain.o vcxomeas.o

all:	${PROGS}

fc-rfcal-gmagic:	${GMAGIC_OBJS}
	${CC} -o $@ ${GMAGIC_OBJS}

fc-rfcal-rxband:	${RXBAND_OBJS}
	${CC} -o $@ ${RXBAND_OBJS}

fc-rfcal-txbasis:	${TXBASIS_OBJS}
	${CC} -o $@ ${TXBASIS_OBJS}

fc-rfcal-txcheck:	${TXCHECK_OBJS}
	${CC} -o $@ ${TXCHECK_OBJS}

fc-rfcal-vcxo:	${VCXO_OBJS}
	${CC} -o $@ ${VCXO_OBJS}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROGS}