view uptools/atinterf/Makefile @ 341:692dbc4c2f07

fcup-atinterf program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Feb 2018 07:56:21 +0000
parents
children 90d7c360a614
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	fcup-atinterf
LIB=	../../libserial/libserial.a
OBJS=	${PROG}.o ${LIB}
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

${PROG}:	${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS}

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

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