view autocal/Makefile @ 87:34a1e06a8587

checking in cableconf and txlevels config files
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 17 Jul 2017 00:03:27 +0000
parents a094db1453b1
children 6a7f8d201859
line wrap: on
line source

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

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

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

TXBAND_OBJS=	l1tmops.o rvinterf.o sockopts.o tsidsock.o txbandmain.o \
		txbasis.o txcalchan.o txcalconf.o txlevels.o txpwrmeas.o \
		txvout.o

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

TXCHECK_OBJS=	l1tmops.o rvinterf.o sockopts.o tsidsock.o txpwrmeas.o \
		txstandchk.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-txband:	${TXBAND_OBJS}
	${CC} -o $@ ${TXBAND_OBJS} -lm

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}