comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:bd62be88259d
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= fc-cmu200d fc-serscpi
4 INSTBIN=/opt/freecalypso/bin
5
6 CMU200D_OBJS= dispatch.o init.o main.o openport.o sercmd.o session.o socket.o
7 SERSCPI_OBJS= openport.o sertool.o
8
9 all: ${PROGS}
10
11 fc-cmu200d: ${CMU200D_OBJS}
12 ${CC} ${CFLAGS} -o $@ ${CMU200D_OBJS}
13
14 fc-serscpi: ${SERSCPI_OBJS}
15 ${CC} ${CFLAGS} -o $@ ${SERSCPI_OBJS}
16
17 install:
18 mkdir -p ${INSTBIN}
19 install -c ${PROGS} ${INSTBIN}
20
21 clean:
22 rm -f *.o *.out *errs ${PROGS}