diff cmu200/Makefile @ 0:bd62be88259d

initial import of rfcal code and docs from freecalypso-tools repository
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 May 2017 18:49:35 +0000
parents
children e2db512abbee
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmu200/Makefile	Sat May 20 18:49:35 2017 +0000
@@ -0,0 +1,22 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	fc-cmu200d fc-serscpi
+INSTBIN=/opt/freecalypso/bin
+
+CMU200D_OBJS=	dispatch.o init.o main.o openport.o sercmd.o session.o socket.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}