view uptools/atinterf/Makefile @ 608:9d9c241f2c84

libserial-newlnx experimental change to set ASYNC_LOW_LATENCY
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Feb 2020 06:23:22 +0000
parents 90d7c360a614
children
line wrap: on
line source

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

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

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

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

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