view autocal/Makefile @ 32:ea1d9f7f625f

autocal/Makefile: make install added
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2017 00:11:16 +0000
parents 0b6881281d86
children dcf7cd305e2b
line wrap: on
line source

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

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

all:	${PROGS}

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

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

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