view uptools/atinterf/Makefile @ 424:dd0247097097

fc-shell: implemented 30 ms delay for batch mode AT commands with -p
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 28 Oct 2018 00:38:13 +0000
parents 692dbc4c2f07
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