view autocal/Makefile @ 42:dcf7cd305e2b

fc-rfcal-gmagic started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 05:04:14 +0000
parents ea1d9f7f625f
children 5018fd8eecce
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 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}