view autocal/Makefile @ 44:5018fd8eecce

autocal: started Rx cal core code
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 05:33:42 +0000
parents dcf7cd305e2b
children 98abe6bd2042
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 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}