view rfcal/cmu200/Makefile @ 194:31d43f0e469a

fc-cmu200d skeleton started, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Apr 2017 00:45:54 +0000
parents 219ae678b955
children db9ee7745cdd
line wrap: on
line source

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

CMU200D_OBJS=	init.o main.o openport.o sercmd.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}