view autocal/Makefile @ 52:e93b5e727230

autocal: use DUALEXT STD for 900 and 1800 MHz bands
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 07:53:36 +0000
parents 98abe6bd2042
children bc2397f62bdb
line wrap: on
line source

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

GMAGIC_OBJS=	gmagicmain.o l1meas.o l1tmops.o rvinterf.o rxcommon.o \
		sockopts.o tsidsock.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-vcxo:	${VCXO_OBJS}
	${CC} -o $@ ${VCXO_OBJS}

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

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