view cmu200/Makefile @ 31:6e8f2728c7f5

fc-rfcal-vcxo: added setlinebuf(stdout) to allow easier logging with tee
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2017 00:08:41 +0000
parents 948031e6de50
children 2fb9768fc1e2
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-cmu200d fc-serscpi
INSTBIN=/opt/freecalypso/bin

CMU200D_OBJS=	band.o dispatch.o init.o main.o mode.o openport.o sercmd.o \
		session.o signalgen.o socket.o vcxocal.o

SERSCPI_OBJS=	openport.o sertool.o

all:	${PROGS}

fc-cmu200d:	${CMU200D_OBJS}
	${CC} ${CFLAGS} -o $@ ${CMU200D_OBJS}

fc-serscpi:	${SERSCPI_OBJS}
	${CC} ${CFLAGS} -o $@ ${SERSCPI_OBJS}

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

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